CART ICON IN HEADER BUILDER
-
Dear,
I intend to completely disable cart fragments on my site but, for this to be done correctly, I need to change the style of the cart icon on the header.
Instead of showign the amount, I want to simply display the label “CART” just like in the picture below. Can you help me do that?
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .whb-color-light .woodmart-shopping-cart .woodmart-cart-subtotal .amount {
display: none;
}
body .woodmart-cart-design-3 .woodmart-cart-subtotal:after {
content:"cart";
}
Replace the “cart” as per your needs.
Best Regards
Thanks, please close this ticket
By the way why you decided to go this way instead of using Disable Cart Fragments plugin by Optimocha? Any hidden issues? I am asking because I’m using it at the moment and find it very good.
I thought about it because Optimocha plugin still re-enables the cart fragment once cart contains items, which then still slow down the site while the added value isn’t frankly worth the seconds lost.
FYI The plugin author told me they planned to release an update which would allow completely disabling cart fragment.
The topic ‘CART ICON IN HEADER BUILDER’ is closed to new replies.