Fixed quantity in cart (multiple add to cart)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #105014
    Bryan Fernando

    Hi I am using dropdown quantity for selling on my Woocommerce store.

    For eg. I sell my product in a 10 pack, 50 pack or 100 pack.

    Sometimes my customers want to buy a 60 pack, so if I turn off all validation and auto-rounding in the plugin it seems to work.

    I.e someone goes to my product, chooses 50 pack, clicks add to cart, and then goes back again to product page, and chooses 10 pack, and clicks add to cart, and I can see it in the cart it’s costing the subtotal at 60 x my product price.

    All this is good.

    My problem is in the cart page, it shows the right subtotal, but under the quantity it doesn’t show as 60. Because I’ve got fixed quantity dropdown, it only shows those values, even though in the backend it’s recognized as 60. So my question is how can I disable the fixed quantity dropdown from showing on ‘Cart’ page and just let it show the quantity added as a read-only field?

    • This topic was modified 1 year, 5 months ago by WPWhale.

    Hi Bryan,

    First, I would like to thank you for the great explanation of the issue, it’s one of those rare cases where the issue is uncommon, but it was explained exactly as it is.

    Second, there is no option in the plugin to do this, it needs modifications on the theme files since you also need to prevent editing the field, please reach us at [email protected] and we will be glad to look further.


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.