How can I add an icon to my 'Add to Cart' button?

Hi! I would like to add the ‘bag’ or ‘cart’ icon to my ADD TO CART button, like in the example below.

I have the SVG ready but I am having trouble with the coding: https://cdn.shopify.com/s/files/1/0579/9673/8721/files/bag.png?v=1669863100

Does anyone know how to? Thanks

Hi :slightly_smiling_face: it’s www.shopworms.com

Hi @9INE

This is Noah from PageFly - Shopify Page Builder App

Please follow my steps below to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: find and open the buy-buttons.liquid and paste the code like this screenshot below


![bag.png?v=1669863100|64x64](upload://j6mgDp9AdbX3pUxfwIiSQng9cMi.png)

It will work like this :

Hope this can help you solve the issue

Best regards,

Noah | PageFly

Looks good but it is very close to the add to cart text, how can I put some space between the icon and text?

Hi @9INE

I created a tutorial for this: https://youtu.be/3Nd-C18cbes?si=VcaGycvSshkpv76c