Shopify Giftcard

Topic summary

A Shopify store owner successfully changed their gift card image in email notifications but cannot display it on the actual gift card webpage—only the brand name appears.

Current Issue:

  • Gift card preview page shows logo instead of custom image
  • User has uploaded a custom image (“gogghi-giftcard-2-png”) but it’s not displaying

Troubleshooting Steps Taken:

  • Another user provided code to modify the ‘if else endif’ condition in the gift card template
  • Suggested replacing the <div> section after <main> with custom markup
  • Initial code replacement resulted in a blank space instead of the image

Status: Unresolved. The original poster is requesting more specific guidance with visual markers showing exactly where to insert the code in their template, as they’re having difficulty locating the correct section to modify.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.


Hello everyone!

I am trying to figure out a way to change the giftcard image on the website.

I managed to change the giftcard image on the email someone gets when purchasing but for some reason i can’t change it on the actual website when someone click their giftcard from the mail.

it just says the brand name, no picture at all..

can anyone help me?

1 Like

@LeandroS - can you please share your website gift card page link?

https://www.gogghi.ch/gift_cards/123456/preview

@LeandroS your code is showing logo on this page, and that is why you can see logo image, if you want to add image instead of logo then you will need to edit the ‘if else endif’ condition after div tag - gift-card__image-wrapper, you can change it to below and check


can you please show me on a screenshot where exactly? can’t find it…

@LeandroS in above code screenshot after , replace that

section with code above

now its just blank instead of a picture…

can you please just take my screenshot, show me with marker where to insert the code?

the picture i want to insert is called: gogghi-giftcard-2-png