-
renenekuda
Hello, I am using a Woocommerce plugin. Everything is OK, but I can see strange styling of quantity button on one specific type of product (and only this one) – product with variations with global stock and 0 items (out of stock).
Preview: https://capture.dropbox.com/FpRPxZNb1JngocUx There should be no quantity button (item is out of stock).
Probably it is something in this part of GP Premium code:
.do-quantity-buttons form .quantity:not(.buttons-added):not(.hidden):after, .do-quantity-buttons form .quantity:not(.buttons-added):not(.hidden):before, .woocommerce form .quantity.buttons-added .minus, .woocommerce form .quantity.buttons-added .plus, .woocommerce form .quantity.buttons-added .qty { min-height: 50px; }
Please, can you help me? Thank you very much!
-
Fernando
Hi Renenekuda,
That’s odd. Can you try #1 here to debug: https://docs.generatepress.com/article/debugging-tips/
It’s recommended to backup your site before proceeding with this.
-
renenekuda
Yes, I did it on my staging site. When I have activated only GP Premium and GP Blocks plugins + standard Woocommerce, there is still this bug: https://capture.dropbox.com/0a8QRWDE5LURXlJj
I put my admin login to this staging site into private section.
-
David
Hi there,
its a known bug that Woo 7.5 caused – that we patched in GPP 2.3 … but it seems Woo just likes to break the fixes we make to fix there breakages.
For now try adding this CSS:
.outofstock div.quantity { display: none !important; }
-
renenekuda
Uff, OK, nice 🙂
Your code is working, David. Thank you very much!
-
David
Glad to be of help!
- You must be logged in to reply to this topic.