Personalize gift cards with a custom image
Upload a new image for your gift card
- From your Shopify admin, go to Online Store > Themes.
- Find the theme you want to edit, and click Actions > Edit code.
- In the Assets directory, click Add a new asset.
Click Choose File to browse to the new gift card image on your computer and upload it. We suggest using a simple filename, for example
Click Upload asset. The new gift card image will appear in your Assets directory. Take note of the file extension (
Edit the gift card template file so that it uses your new image
- In the Templates directory, click
- Find the following code within the file:
- Replace it with the following:
- Click Save.
Preview your new gift card image
- From the theme code editor, in the top right-hand corner, click Customize theme.
- Open the theme editor.
- From the drop-down menu at the top of the page, or from the Templates menu on mobile, select Gift card.