Hi,
I am trying to hide the Add to Cart button in my shop as I use a Request Quote app. I also use an app for advanced product variant options, which is displayed under the standard variants (colors, mainly), juste above the Add to Cart button.
I have read some tutorials to hide the button, and tried to edit the code in main-product.liquid, using {% comment %} and {% endcomment %} tags. Problem is when I do this, the bottom section (including my advanced variant options) hops up at the top of the page, and my colors are displayed below.
I add that I do not know any code, could you help me ?
Shop adresse is jean-marque.fr, it’s not live yet, the access code is “gonaul”
Thanks !
This should do the trick
.product-form__submit { display: none }
Hi Bygupsell,
Thanks for your answer. Can you indicate where I should paste this line ? I really am a total ignorant to code…
Thanks !
Hello @Hernoso ,
It’s GemPages support team and glad to support you today.
Could you please share your store URL ( with the password if your store password is enabled ) then I can see and suggest something for you?
Best regards,
GemPages Support Team
In that case the Theme customizer is a better route for you. You can:
Click “Customize” button for your theme which is “Origin”
It will open the theme customizer, now select the “Products” and then “Default product” in template selector dropdown
You should now have product sections in the left sidebar
From here you can simply hide the “Add to cart” and “Buy now” buttons by clicking on the eye icon
to
You can then save your customizations by clicking on the “Save” button in top left
Now you shouldn’t see “Add to cart” buttons on your product pages.
I hope it helps.
Thanks,
BYGUpsell