Hi, I saw that you have already opened a ticket for my problem, but the recommended solution does not solve my problem. I want to hide the quantity of products from above the “add to cart” button from all product pages. the code I report did not solve my problem 🙁
where should this code be inserted? I have tried inserting it in appearance-customise-additional-css, but it does not solve the problem
The code snippet provided by @lukefiretoss needs to be added to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin.
Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.
i don’t have a child theme, so i had to create a folder and then a style.css , but i still haven’t managed to hide the quantity in the product pages. i will try to download the recommended plugin and see if it works
i don’t have a child theme, so i had to create a folder and then a style.css , but i still haven’t managed to hide the quantity in the product pages. i will try to download the recommended plugin and see if it works
Testing this code on my staging site, it seems to be working as expected:
Before the code snippet is added:
After the code snippet is added:
Should the code not work as expected on your end when using the Code Snippets plugin, then it’s possible that this is being overwritten by a theme/plugin setting or other custom code.
You are most welcome and we’re glad that worked! 🙂
Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.
Thanks!
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘hide the quantity above the add to cart button’ is closed to new replies.