• Resolved kratzfactory

    (@kratzfactory)


    Hi there,

    I have a bug, when there is only 1 quantity left on a product. The amount between + and- is not there, and there is an error if you try to add it to cart. But only if you are on a single product page not on a product archive.

    Please help! I use the latest version of Woocommerce and OceanWp as a theme.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    As i see, the type of the quantity is marked as “type=”hidden”” and that’s why you can’t see it.

    <input type="hidden" id="quantity_5cf16c6958e4b" class="qty" name="quantity" value="1">

    I guess that you need to change it to. Doing this it’s showing:

    <input type="number" id="quantity_5cf16c6958e4b" class="qty" name="quantity" value="1">

    The problem is that i don’t know why is marked as Hidden and where you need to change it. Maybe in your Theme code?

    Let’s see what the specialists says.

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1 product quantity bug’ is closed to new replies.