Tagged: x
-
AuthorPosts
-
June 30, 2016 at 2:38 pm #1067212
ryanefordParticipantHello,
I am trying to figure out how I can remove the “Add to Cart” and “Select Options” buttons on products.
For this site, I will be using the shortcodes to create the store page instead of relying on product categories and wanted to keep the customer from interacting with the core of the woocommerce site (only when checking out and quick view)
Is there a way to remove these buttons? (see image for example below)
Thanks!
June 30, 2016 at 9:04 pm #1067792
LelyModeratorHi There,
Please try adding this CSS on Appearance > Customize > Custom > Edit Global CSS:
.woocommerce li.product .entry-header .button { display: none !important; }If this doesn’t work, please do share your site URL so we can be more specific on our suggestion.
Hope this helps.
June 30, 2016 at 9:10 pm #1067798
ryanefordParticipantHi there. The CSS worked though it seemed to have killed the Quick View lightbox I have installed.
Please refer to this link to see what i mean.
July 1, 2016 at 12:13 am #1067960
Rue NelModeratorHello Again,
To make sure that the css will not affect any other element, please update the given css and use this instead:
.woocommerce li.product .entry-header .product_type_simple, .woocommerce li.product .entry-header .product_type_variable { display: none !important; }Please let me know if using this code will not affect the Quick View button. Thanks.
July 1, 2016 at 12:16 am #1067965
ryanefordParticipantShoot, didn’t seem to make a difference. 🙁
July 1, 2016 at 1:13 am #1068007
RupokMemberHi there,
This code doesn’t have anything to do with the lightbox and I don’t think it’s related. You can take off the code and check again to make sure.
However I can see some JS errors regarding a plugin (agreeable) that’s causing the issue – http://prntscr.com/bncxlp
Thanks!
July 2, 2016 at 1:04 pm #1069738
ryanefordParticipantThat was it! Thanks for solving that issue!
July 2, 2016 at 10:37 pm #1070025
RadModeratorYou’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1067212 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
