- This topic has 13 replies, 3 voices, and was last updated 5 years, 4 months ago by
David.
-
AuthorPosts
-
December 7, 2020 at 9:37 am #1570632
Charles
Hi there,
I’ve recently installed WooCommerce and enabled the add-on within GeneratePress. However, I can’t seem to get the add to cart button or price butttons on the single page.
The add to cart button appears on the shop page.
Any help would be muchly appreciated.
Charles
December 7, 2020 at 12:10 pm #1570766David
StaffCustomer SupportHi there,
can you provide a link to a product so we cans see what the issue is?
December 7, 2020 at 12:56 pm #1570817Charles
December 7, 2020 at 5:29 pm #1571008Ying
StaffCustomer SupportThis CSS you’ve added is the issue:
div.entry-summary { display: none; }Let me know 🙂
December 8, 2020 at 1:20 am #1571259Charles
Hi there,
Yes that fixed it, thank you.
Also, how is it possible to only show the cart in the menu when there is something added to the basket?
Charles
December 8, 2020 at 2:27 am #1571326David
StaffCustomer SupportThis article explains how to hide the empty cart:
https://docs.generatepress.com/article/hide-cart-in-menu-when-empty/
December 8, 2020 at 2:35 am #1571335Charles
Hi there,
I’ve added that CSS, however, the basket is still showing in the menu.
Charles
December 8, 2020 at 2:53 am #1571352David
StaffCustomer SupportHmmm… can you disable your Cache/Optimizer plugin so i can take a look to see why its not applying
December 8, 2020 at 4:10 am #1571424Charles
Sure, I’ve just deactivated my Siteground optimizer.
Charles
December 8, 2020 at 5:06 am #1571474David
StaffCustomer SupportLets try this CSS:
.mobile-bar-items.wc-mobile-cart-items:not(.has-items), .main-navigation .wc-menu-item:not(.has-items) { display: none !important; }December 8, 2020 at 6:48 am #1571570Charles
Brilliant, that’s done it, thank you. One more question, is it possible to remove the sidebar on the basket page?
Cheers
December 8, 2020 at 7:20 am #1571746David
StaffCustomer SupportYou can edit the Cart Page and use the Disable Elements module to remove the sidebar:
https://docs.generatepress.com/article/disable-elements-overview/
You can also find that same option in a Layout element if you need to remove it from archive pages:
https://docs.generatepress.com/article/layout-element-overview/
December 8, 2020 at 7:57 am #1571780Charles
Brilliant, thanks for your help.
December 8, 2020 at 2:36 pm #1572104David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.