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 }}
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024