NO BUG: 1.6.2 - Product quantity not displaying correctly

Bricks Version: 1.6.2
Woocommerce version: 7.4
Browser: Chrome / Firefox / Edge
OS: Windows 11
URL: (a link to a page that illustrates the issue would be really helpful)

After updating the new Woocommerce 7.4 version, I have noticed that the products with only one item in stock have this weird quantity display. (It showed “1” before the update and didn’t allow to add more to CART, now it displays an empty input field:

image

Not sure if this is a bug, and if not, is there a way to hide the quantity field if the stock is lower than 2?

Did you try it with Bricks 1.7 Beta (on a staging site)? There were some updates on WooCommerce templates that were incorporated in the Beta release. Maybe this fixes this issue.

Yes, I just did, and the 1.7beta changes this:
image

Still doesn’t push the button to the left side, but it solves the issue of not showing the empty quantity field :slight_smile:

So will have to wait for the stable 1.7 release. Actually, I was not planning to update to woo 7.4 on the production site but hit the update button by accident since I was wanting to update another plugin :smiley:

Even it is just a small CSS issue that is left you shouldn’t mark the thread as solved yet. That way there is a better chance that this gets fixed before the final release as well. :slightly_smiling_face:

1 Like

Hi @lauhriz ,

Thanks for reporting the issue.
In WooCommerce 7.4, sold individually product or min qty == max qty product will be hiding the quantity input field.

1.7-beta is following this behavior.

After updating to 1.7-beta, your Add To Cart element not aligned to the left could be your own Custom CSS rules.

Can you check if this was added manually?

image

Regards,
Jenn

1 Like

Yes, this was styled manually :slight_smile:
Didn’t look into it more closely right now since I don’t want to install 1.7beta onto the production site, but I am pretty sure the position of the button will be easily fixable with CSS

Great. If in this case, I do not suggest updating to Woo 7.4 in your live site since 1.6.2 is not support Woo 7.4 yet.