Hi Im looking to change my cart icon in my header to just the text “cart(0)” and have the number increase when someone adds an item to the cart. I would also like to change the font, thanks heaps.
Hello @Madcap ,
I’m not sure which theme you are using but if you know liquid code you can do it by editing your theme files.
-
Remove the cart image and add text in place of it.
-
First check the theme you are using have ajax cart available. If yes then after ajax success return update the counter through JS codE.
-
Check in your theme settings there you will find list of fonts. If not then you can go with app or call a developer to implement it.
Thanks
very new to this and dont know my way around liquid code
{%- include ‘icon’ with ‘cart’ -%}
{%- include ‘icon’ with ‘cart-desktop’ -%}
this is what is looks like right now, i know how to change it to display text i just don’t know how to get the text to update when an item gets added
The code you shared is right but we can’t provide a code a/to your requirement with these lines.
You have to provide access to developer in order to do this.
Thanks
sorry for the annoyance but how would i contact a developer to help with the code
No problem, you can reach to expert here or you can shoot an email to my Gmail for quote.
Thanks
Hey where did you put this code ?