Skip to content

Instantly share code, notes, and snippets.

@philcon93
Last active November 26, 2019 00:56
Show Gist options
  • Save philcon93/c5ad3d5e399e025e41aa02d4c270fb1f to your computer and use it in GitHub Desktop.
Save philcon93/c5ad3d5e399e025e41aa02d4c270fb1f to your computer and use it in GitHub Desktop.
afterpay_webstore
[%checkout_payment ignore_balance:'1' distinct:'1'%]
[%param *body%]
[%if [@payment_desc_type@] eq 'afterpay'%]
<p>
Or <strong>[@REFERRAL_KEY1@] interest-free payments</strong> of <strong>[%format type:'currency'%][%if [@inpromo@]%][%calc [@promo_price@]/[@REFERRAL_KEY1@] /%][%else%] [%calc [@store_price@]/[@REFERRAL_KEY1@] /%][%/if%][%/format%]</strong> with
<img src="//cdn.neto.com.au/assets/neto-cdn/afterpay/ap-01.jpg" style="max-width: 90px;">
<a data-toggle="modal" data-target="#afterpayModal" href="#" style="display:block;">Learn more.</a>
</p>
[%/if%]
[%/param%]
[%/checkout_payment%]
[%checkout_payment distinct:'1'%]
[%param *body%]
[%if [@payment_desc_type@] eq 'afterpay'%]
<div class="card panel panel-default mt-2">
<div class="card-body panel-body">
<img src="//cdn.neto.com.au/assets/neto-cdn/afterpay/ap-01.jpg" style="max-width: 150px;margin: 5px 15px;float: right;">
<h4>Check out with Afterpay and pay it in [@REFERRAL_KEY1@] installments.</h4>
<p>Pay [@REFERRAL_KEY1@] interest free payments of [%format type:'currency'%][%calc [@grand_total@]/[@REFERRAL_KEY1@] /%][%/format%]. <br>Use your payment card. Instant approval.<br>
<a data-toggle="modal" data-target="#afterpayModal" href="#">Learn more</a></p>
<div class="clear"></div>
</div>
</div>
[%/if%]
[%/param%]
[%/checkout_payment%]
<p><strong>4 interest free payments of <span class="afterpay_desc_installment">[%format type:'currency'%][%calc [@grand_total@]/4 /%][%/ format%]</span>, every 2 weeks</strong></p><p>Afterpay offers customers to pay in four equal payments over 60 days. All you need is a debit or credit card for instant approval. </p><br/><p><strong>Flexible Payment Options</strong></p><p>The credit or debit card you provide will be automatically charged on the due dates of your invoice or log in to the customer portal to repay with an alternative method.</p><br><p><a href="http://www.afterpay.com/" target="_blank"><u><b>Click here to learn more about Afterpay.</b></u></a></p><p class="small">All transactions will be processed and appear on your statement as Afterpay.<br/>You will be redirected to Afterpay when you confirm your order.</p>
[%checkout_payment ignore_balance:'1' distinct:'1'%]
[%param *body%]
[%if [@payment_desc_type@] eq 'afterpay'%]
<p>
Or <strong>[@REFERRAL_KEY1@] interest-free payments</strong> of <strong>[%format type:'currency'%][%if [@inpromo@]%][%calc [@promo_price@]/[@REFERRAL_KEY1@] /%][%else%] [%calc [@store_price@]/[@REFERRAL_KEY1@] /%][%/if%][%/format%]</strong> with
<img src="//cdn.neto.com.au/assets/neto-cdn/afterpay/ap-01.jpg" style="height: auto;max-width: 100px;display: inline-block;">
</p>
[%/if%]
[%/param%]
[%/checkout_payment%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment