trigger class opens side cart and cart link
-
Hi, I used the cart menu item class from my theme as the trigger class in side cart settings [without ‘.’] But when I click on the menu item it both opens the side cart AND forwards to the cart page, closing the side cart as the page changes and loads the cart page.
With items already in the cart when I activated the plugin, but before adding additional items to the cart the trigger link/menu item opened/closed the side cart perfectly. Even after customizing the side cart. After testing that ajax worked for add to cart buttons on single product pages, I styled the wc view cart link that appears next to the add to cart button after ajax add to cart ends. That’s when I tested the menu link again to open the side cart, but was forwarded to the cart page, instead, while the side cart still appeared to open and display normally along with its content.
I removed all my additional css, emptied the cart, removed ajax from the add to cart buttons, added new items to the cart while testing after each. But, clicking the trigger class link in the menu to open the side cart still shows the side cart, briefly, while forwarding to the cart page. Fix? Ideas? Thanks for your help…
Ann
- The topic ‘trigger class opens side cart and cart link’ is closed to new replies.