First off, please install AfterPay gateway to your default Shopify product page: Check the tutorial here
After that, the AfterPay widget will auto-insert at the top of GemPages’s product pages. And, these steps will guide you on how to change its position to right under the product price.
Step 1: Visit Shopify Admin >> Themes >> Edit Codes, and open the file "theme.liquid"
Scroll down and find the section of AfterPay codes added before.
Remove " // " from the line of codes:
var afterpay_product_selector = '#product-price-selector';
And then click Save.
Step 2: Copy the HTML code below
From your product page, drag and drop a Liquid module from the left sidebar to your page and put it right under the module (P) Price.
Right-click on the Liquid module and choose Edit HTML to open the HTML panel.
Remove all existing codes on the code panel. Right-click and paste the HTML code into.
Hit Save and check the result on Preview mode or hit Publish and check on the live page.
That's all steps needed. If you have any questions, just drop us a line in the live chat. Our support team will be more than happy to answer and assist you further! 😊