Personalize gift cards with a custom image
This page was printed on Jun 07, 2023. For the current version, visit https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/personalize-gift-cards.
On this page
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 the ... button > 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.