{{template config_path="design/email/header_template"}}

{{trans "%name," name=$name}}

{{trans '%sender has sent you a gift card for use at %store_name and it is now ready to be used for purchases.' sender=$sender_name_with_email store_url=$this.getUrl($store,'',[_nosid:1]) store_name=$store.frontend_name |raw}}

{{if is_multiple_codes}}

{{trans "Gift Card Codes:"}}

{{else}}

{{trans "Gift Card Code:"}}

{{/if}}

{{var giftcards|raw}}

{{if is_multiple_codes}} {{trans 'Each card has a balance of %balance that can be used at %store_name.' balance=$balance store_url=$this.getUrl($store,'',[_nosid:1]) store_name=$store.frontend_name |raw}} {{else}} {{trans 'The card has a balance of %balance that can be used at %store_name.' balance=$balance store_url=$this.getUrl($store,'',[_nosid:1]) store_name=$store.frontend_name |raw}} {{/if}}

{{if is_redeemable}}

{{trans "Click on the code(s) above to redeem them into Store Credit."}}

{{/if}} {{depend gift_message}}

{{trans "Message from %sender_name:" sender_name=$sender_name}}

{{var gift_message|escape|nl2br}}
{{/depend}} {{template config_path="design/email/footer_template"}}