How can I change the shopping icon from bag to cart in the Ride theme?

Hello, in some themes you can choose the shopping bag or the shopping cart icon if you prefer, but not in the Ride theme which my client is using.
I did once coding for another store and replaced one to another, but in these theme it looks more complicated. We want to switch the bag icon to cart icon (i already have it downloaded).

Anyone can help please?
the store name is : https://commasandsense.com/

thank you!

Hi @Nat7 ,

You want to change the icon here? Please follow the steps below:

  • Step 1: Change the cart icon when there is an item in the cart: go to icon-cart.liquid file and change all code.

  • Step 2: Change the cart icon when there is no item in the cart: go to icon-cart-empty.liquid file and change all code.

Hope it helps!

1 Like

Thanks , but what would be the code than.?
in another themes i was just changing a little part of the code. But in this one looks more complicated.

Hi @Nat7 ,

Can you send me the SVG code of the icon? I will help you change it.

This is the link on the web:

https://www.iconpacks.net/free-icon/shopping-cart-1985.html

And this is the link from the uploaded files:

https://cdn.shopify.com/s/files/1/2395/4287/files/shopping-cart-1985.svg?v=1666034934

Thank you so much! Really appreciate it
Best regards

Hi @Nat7 ,

Please go to icon-cart.liquid file, icon-cart-empty.liquid file and change all code:

Refer code:


Hope it helps!

3 Likes

Thank you i will try and let you know

1 Like

Thank you so much! It worked perfectly!

1 Like

Is there a more generic solution here. I also need to change my cart icon, but I want to try some different ones out, how can I do this? Thanks!

Is there a more generic solution here. I also need to change my cart icon, but I want to try some different ones out, how can I do this? Thanks!

I got my own icon in place but I need to change how big it is also in ride theme can someone help me maybe