Change class of WooCommerce menu basket?
-
Hello,
I have a custom header with the WooCommerce menu basket enabled in OceanWP via Customise > WooCommerce > Menu basket. I have WooCommerce Side Cart (Ajax) plugin installed and I want to open the side cart on click rather than go to the basket page.
I can do this easily by manually changing
<a href="https://..." class="wcmenucart">
to<a href="https://..." class="xoo-wsc-cart-trigger">
in the browser console.But I’m struggling to do this permanently (e.g. by jquery/javascript in a php snippet or by editing the header file directly). Any help would be greatly appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change class of WooCommerce menu basket?’ is closed to new replies.