Submit a request

Autocomplete Off

Answered

Comments

3 comments

  • Avatar
    Alex Ruff

    You can do this yourself in less than a minute by going to Themes > Pages > Product Details > HTML Editor and adding the following code right above the last line of code which is </ac:pagelayout>:

      <script>
    $(function() {
    $('input').attr('autocomplete', 'off');
    });
    </script>

    After reading your request I thought this was a good idea so I did this to my site and here is what the code looks like on my product details page:

    2
    Comment actions Permalink
  • Avatar
    Lewis Allard

    Ah perfect, thank you Alex! I will give this a go.

    0
    Comment actions Permalink
  • Avatar
    Joshua Artman

    Depending on what your site layout looks like you might want to target only the quantity boxes.  Our site has a dropdown in the header menu that allows a customer to login, and the code suggested above disables the autocomplete for the customer login as well.  To only target the quantity boxes I modified the code to the following:

      <script>
    $(function() {
    $('input.ProductDetailsQuantityTextBox, input.ProductGroupItemQuantity').attr('autocomplete', 'off');
    });
    </script>
    0
    Comment actions Permalink

Please sign in to leave a comment.

We're Here To Help


Standard Support Hours: Monday-Friday 8AM-6PM CST
Looking for Premium Support? Just ask!

Speak to a live person
1 (800) 936-9006
Submit A Support Ticket
Submit Your Ticket Here