Hello –
We have recently set up a gift card as a product on our shop but customers are unable to view or access the unique code.
Below is an image of the email that the customer receives – with no code but a link to view gift card…
And the [VIEW GIFT CARD] directs them to a QR code:
https://checkout.shopify.com/gift_cards/26510950497/3e5552bcfb4ca23357603eadfa960ba4
Can you please tell me how I can get the unique gift card code to display?
Thanks,
Lizzie
1 Like
I am having the same problem and can’t find a solution. I wonder if it has to do with liquid code? I chatted with Shopify help but haven’t received an answer for my problem. I was told it’s a glitch…
When I press (paste) (copy) on the blank space, I was able to get the code. The only work around I found was to have the customer email me her gift card she purchased and then I extract the code and email it back. You can also print the gift card email, and then scan the QR code and then you can get it. Neither are good options. I really want to figure this out as I have customers that will have a hard time.
Cathy
I have the same issue. Please help.
I wish someone had the fix for this problem it’s very frustrating.
Still no response from Shopify on this – any ideas how to get some advice?
I just solved this problem with shopify customer service team. Share here for others if you face the same problem. It happens because the liquid code of gift card in your theme is not completed. I paste my code here in case someone need it:
{% layout none %}
{% assign formatted_initial_value = gift_card.initial_value | money_without_trailing_zeros %}
{% assign formatted_initial_value_stripped = formatted_initial_value | strip_html %}
Here's your {{ formatted_initial_value_stripped }} gift card for {{ shop.name }}!
{{ ‘gift-card.css’ | shopify_asset_url | stylesheet_tag }}
{{ ‘modernizr.gift-card.js’ | shopify_asset_url | script_tag }}
{{ ‘vendor/qrcode.js’ | shopify_asset_url | script_tag }}
{{ shop.name }}
{{ shop.url | remove: 'http://' }}
Here's your gift card!
{% unless gift_card.enabled %}
Disabled
{% endunless %}
{% if gift_card.expired and gift_card.enabled %}
Expired on {{ gift_card.expires_on | date: "%d/%m/%y" }}
{% endif %}
{% if gift_card.expired != true and gift_card.expires_on and gift_card.enabled %}
Expires on {{ gift_card.expires_on | date: "%d/%m/%y" }}
{% endif %}
![Gift card illustration]()
{% assign initial_value_size = formatted_initial_value | size %}
{% if gift_card.balance != gift_card.initial_value %}
{{ gift_card.balance | money }} left
{% endif %}
{{ formatted_initial_value }}
{% assign code_size = gift_card.code | format_code | size %}
{{ gift_card.code | format_code }}
Use this code at checkout to redeem your gift card.
{% if gift_card.pass_url %}
![Add To Apple Wallet]()
{% endif %}
1 Like