I came across some questions about how to copy and add SVG icons to a Shopify product page. While this is simple for those familiar with Shopify, it is not the case for some new merchants.
Here are a few resources that can help you with using the SVG icons:
Free program to open and edit SVG files:
- Free online editor: Method Draw
- Or any free software you know (GIMP, SVG-Edit, Vectr, etc.)
Free tool to optimize SVG files:
https://jakearchibald.github.io/svgomg
This tool is handy when you add SVG inline to your page.
It helps you clean up the SVG and cuts the SVG file size - the smaller SVG file size, the better.
Free SVG icon libraries:
How to add an SVG icon to a Shopify product page:
You might find several ways to add your SVG icons to a Shopify page. An easy option is to use Easy Content Builder (a free app) to add Icons with text block to any section on your product page.
The steps are straightforward and all done via your theme editor without coding. Learn how to copy the SVG code and insert it to your product page here.
If you guys have other SVG resources or SVG best practices, please share them with me here.
PS. You might want to look at examples of the SVG icons on the Shopify product page: here, here, and here.