Home Forums WoodMart support forum CART ICON IN HEADER BUILDER

CART ICON IN HEADER BUILDER

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #150860

    Jeriss Cloud Center
    Participant

    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.
    #150913

    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

    #153584

    Jeriss Cloud Center
    Participant

    Thanks, please close this ticket

    #153589

    horny_fungus
    Participant

    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.

    #153592

    Jeriss Cloud Center
    Participant

    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.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘CART ICON IN HEADER BUILDER’ is closed to new replies.