Shopify themes, liquid, logos, and UX
I would like to add Paypal Pay Later messaging on the product page, so that customers know we offer Paypal installment payment method. I have added the following code however the messaging is showing a generic message Pay in 3 interest-free payments on purchases from £30-£2,000
I prefer the messaging to show the correct installment amount based on the product price, for example: Pay in 3 interest-free payments of £50 for a product priced at £150, can someone help please?
<script
src="https://www.paypal.com/sdk/js?client-id=id¤cy=GBP&components=messages">
</script>
<div
data-pp-message
data-pp-amount=""
data-pp-style-layout="text"
data-pp-style-text-color="black"
data-pp-style-logo-type="primary"
data-pp-style-logo-position="left">
</div>
Hello @Siew
This is Amelia at PageFly - Shopify Advanced Page Builder app.
You can modify the value by adding a value to data-pp-amount. As shown in the example below:
<div
data-pp-message
data-pp-amount="50"
data-pp-style-layout="text"
data-pp-style-text-color="black"
data-pp-style-logo-type="primary"
data-pp-style-logo-position="left">
</div>
Hoping my solution helps you solve your problem.
Best regards,
Amelia | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
Hi, I have tried adding a value to data-pp-amount but it rendered the same amount on every product so it didn't work.
To set the product price dynamically for each product in your PayPal Pay Later message on Shopify, you can use the following code snippet:
data-pp-amount="{{ product.price | divided_by: 100.0 }}
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify 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, 2025