{{template config_path="design/email/header_template"}} {{depend print_true}} {{if sender}}

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

{{/if}}

{{trans "You have bought a gift card from %store_name." sender=$sender store_name=$store.getName()}}

{{/depend}} {{depend print_false}} {{if recipient}}

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

{{/if}}

{{trans "You have received a gift card from %sender for %store_name." sender=$sender store_name=$store.getName()}}

{{if message}}

{{trans "Please find the message from %sender below:" sender=$sender}}

{{var message}}

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

{{trans "Your gift card information: "}}

{{depend expired_date}} {{/depend}}
{{trans "Gift Code"}} {{trans "%code" code=$giftcard.code}}
{{trans "Balance"}} {{trans "%balance" balance=$balanceFormated}}
{{trans "Expires on"}} {{trans "%expired_date" expired_date=$expired_date}}

{{trans 'Visit %store_name for checking gift card detail.' store_name=$store.getName() store_url="$this.getUrl($store, 'mpgiftcard/', [code:$giftcard.code, _nosid:1])" |raw}}

{{trans "Look forward to seeing you at our store"}}

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