Home › Forums › WoodMart support forum › Show variable products without shopping cart function
Show variable products without shopping cart function
- This topic has 5 replies, 2 voices, and was last updated 1 year, 10 months ago by
Elise Noromit.
-
AuthorPosts
-
April 9, 2023 at 10:23 am #458447
Brian0413ParticipantI need to show variable products without shopping cart function. Catalog mode does not work for me as it hides variable products.
I tried adding custom css to remove shopping cart function as taught in the other post (https://xtemos.com/forums/topic/variation-not-showing-if-catalog-mode-is-on/), but shopping cart button (and order quantity selection) on shop page and single product page still exist, even after I flushed all cache.
I provided admin panel login information in the private content, please help, thank you.
April 9, 2023 at 10:25 am #458449
Brian0413ParticipantSorry I gave the wrong password, here is the correct password in private content
April 9, 2023 at 2:00 pm #458470
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
I am checking the product page and I do not see Add to cart https://gyazo.com/682c5c3e3048e83dc6ae959da7d82bec
You have hidden the Add to Cart button with custom CSS: https://gyazo.com/8ac5b1af513e39d1b45859df9fd4ab44
If you have any questions please feel free to contact us.
Best Regards
April 9, 2023 at 2:35 pm #458473
Brian0413ParticipantThank you for your reply.
I saw the shopping cart button on single product page is gone now, but how can I remove the quantity buttons as well? Please see attached photo.
In addition, when I look at the shop page with multiple products, the shopping cart button appears on top of the product image if my mouse hover on any product image, please see attached photo.
Is there other custom css I can add to hide quantity button in single product page and hide the shopping cart button when I hover on image in shop page?
If the shopping cart button that appears when I hover on image cannot be disabled, can I disable the hover on feature entirely?
Please check and advise, thank you.
Attachments:
You must be logged in to view attached files.April 9, 2023 at 6:09 pm #458488
Brian0413ParticipantHi,
I found another css code that hides the shopping cart from product category page in the other post below:
https://xtemos.com/forums/topic/hovering-add-to-cart/
Also, I found another css code that hides the quantity field from single product page in the other post below:
https://xtemos.com/forums/topic/remove-quantity/
I feel embarrassed but all the answers are already available in other posts in this forum. Nevertheless thank you for help and I really enjoy using the woodmart theme.
April 11, 2023 at 2:13 am #458784
Elise NoromitMemberHello,
Please disable the Catalog mode in the Theme Settings > Shop.
Please add this code to the Theme Settings > Custom CSS > Global:
body .product-type-variable .wd-add-btn>a { display:none; } body .woocommerce-variation-add-to-cart .woocommerce-variation-add-to-cart>* { display:none; }
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register