How can I change the cart icon on a product grid?

Hi,

I would like to replace the quick add icon in a shop that I’m building.

I did it in the past, but I can’t recall how. Can anyone help me rewrite the code? I uploaded the new icon but i#m not sure how to change the referring line in the liquid file, I can’t recall how.

https://pferdinand.myshopify.com/?_bt=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaDF3Wm1WeVpHbHVZVzVrTG0xNW…

PASSWORD: sasa

Code line:


{{ ‘products.product.add_to_cart’ | t }}


{%- else -%}



{{ ‘products.product.add_to_cart’ | t }}

My uplaoded svg file name is cart_1
link: https://cdn.shopify.com/s/files/1/0631/4170/7949/files/cart_1.svg?v=1702594047

Thank you in advance

Hi @Daniel19901

You can do that by updating code to this


{{ 'products.product.add_to_cart' | t }}

{%- else -%}

But it will appear like this because the color of your icon
![Screenshot 2023-12-15 at 08.37.28.png|996x427](upload://t7kW41bXmfr67dj0aDy6sldAo6g.png)