Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #516697

    Reference support forum post: #177320

    I simply need to change the woocommerce cart icon to a different icon. now its: UE859

    Want to change to: entypo fontello: UE800 (supposed to be a lock icon)

    Simple thing, cannot figure it out. nothing seems to be correct. I either get a musical note icon or other codes give no glyph at all – just blank.

    REALLY would like to have a proper shopping bag icon somthing like: https://www.colourbox.com/preview/9971791-shopping-bag-icon.jpg
    But the closest thing available with entypo is the lock icon.

    HELP! thank you!

    #516698

    zOrg, good question and I’m now subscribed to this thread, but it might be helpful to you to know that you can make your own icons in adobe illustrator or whatever then upload them to fontello.com, then in turn use them in Enfold. So you could easily make your own shopping bag icon, then once you get the answer to this thread, attach that icon to your cart. Hopefully this at least half-helps.

    #517165

    Hi!

    Thank you for using Enfold.

    Please try to add this in the functions.php file in order to change the icon:

    add_action('init', 'avia_replace_default_icon', 10, 1);
    function avia_replace_default_icon($icons) { 
    	global $avia_config;
    	
    	$avia_config['font_icons']['cart']['icon'] = 'ue800';
            $avia_config['font_icons']['cart']['font'] = 'fontello';
    	return $icons;
    }

    Adjust the font set (fontello in the example) to the font set where the uploaded icon belong.

    Regards,
    Ismael

    #959562

    Is there an updated way to do this? I am trying to change the cart icon in a new 2018 enfold website.

    #959989

    Hi,

    Have you tried that function and it is not working for you?

    Best regards,
    Basilis

    #1199560

    This doesn’t work.

    #1200644

    Hi fulanoinc,

    Please try this code:

    
    add_action('init', 'avia_replace_default_icon', 10, 1);
    function avia_replace_default_icon($icons) { 
    	global $avia_config;
    	
    	$avia_config['font_icons']['cart']['icon'] = "ue82f";
            $avia_config['font_icons']['cart']['font'] = 'entypo-fontello';
    	return $icons;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1200648

    That worked perfectly!

    Thank you, Victoria

    #1200728

    Hi,

    I’m glad this was resolved. If you need additional help please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Woocommerce change shopping cart icon to different icon’ is closed to new replies.