Home › Forums › WoodMart support forum › Variation not showing if catalog mode is on
Variation not showing if catalog mode is on
- This topic has 5 replies, 3 voices, and was last updated 4 years ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 13, 2020 at 1:50 am #210291
silbangParticipantHi xtemos team, I need your help.
How can I show the variation of the product if catalog mode is on? Thanks!
July 13, 2020 at 8:52 am #210343
Aizaz Imtiaz AwanKeymasterHello,
The catalog mode is used to disable the ability to buy a product from the website and it also hides the variations from the variable products.
If you want to display the product variations then Please disable the catalog mode and use Custom CSS to hide the add to cart buttons.
Please add the following Custom CSS to remove the add to cart buttons.
For product grids:
.product-grid-item .woodmart-add-btn { display: none; }
For the single product page:
.single_add_to_cart_button.button.alt { display: none; }
Best Regards.
February 23, 2021 at 1:47 pm #268721
saniplussrlParticipantHi, same problem please: How to hide ‘Add To Cart’ for variable products, but keep product variations visible. Also, obviously we want to hide on product page the prices because WooCommerce says: “Variations (and their attributes) that do not have prices will not be shown in your store.” We tried to add a snippets code and we succed to hide the “Add To Cart” button, but the price remained displayed…So we was half successful 🙁
Please help us if you can.February 24, 2021 at 5:58 am #268844
Aizaz Imtiaz AwanKeymasterHello,
@saniplussrl Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS..summary-inner>.price { display: none; }
If it doesn’t work for you then create a new topic and provide the admin panel login details of the website to check it myself and help you out accordingly.
Best Regards.
February 24, 2021 at 8:03 am #268865
saniplussrlParticipantHi, it works…but only on product page. On subcategory page, the product styles generate by the template, the price it’s still there. Please see attachements. Thanks.
Attachments:
You must be logged in to view attached files.February 24, 2021 at 8:16 am #268871
Aizaz Imtiaz AwanKeymasterHello,
Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.product-grid-item .price { display: none; }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register