Shopify themes, liquid, logos, and UX
One of our payment gateway offers a installment payment plan.
They sent me some code that had to be inserted into the main-product.liquid file.
Surely it can be inserted in the editor using the 'custom liquid' block?
It seems like an awful lot of code for a simple instalment calculator.
Is it possible to edit the code below to work in the 'custom liquid' block?
This is the code they sent me:
<html> <header> <script src="https://embed.payjustnow.com/product/js/product.js"></script> <script> function onLoad() { setPJNProductAmounts( {{ product.price }} , 3); } </script> </header> <body onload="onLoad()"> <div id="pjn-product-container"></div> <style> .pjn-infolink { display: table; } .pjn-container .pjn-text { display: block; } </style> </body> </html>
Hi Roshi
Thank you so much.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025