Melbourne ecommerce theme - Adding Afterpay snippets
From Spiffy Stores Knowledge Base
1. Product page
Paste the code provided below above this line in your product.liquid file...
{% if settings.yotpo_reviews and settings.yotpo_appkey != blank %}{% include "yotpo_stars" %}{% endif %}
You may need to alter the minimum product price in accordance with Afterpay's requirements.
{% if product.price_min < 1000 %}
<img src="Template:'afterpay/ap-01.jpg'" style="width: 100px;"><a href="" id="afterpay-popup" class="image-link"> More info</a>.
Make 4 interest-free payments of Template:Product.price fortnightly and receive your order now.
*Minimum order amount of $100, and a maximum of $1000 applies. <a href="https://www.afterpay.com/en-AU/terms-of-service" id="afterpay-terms-popup" class="" target="_blank"> Afterpay Terms</a>
{% endif %}