I'm trying to add PayPal Pay Later code to the Product Page. I need to dynamically update the price of the product to the variable "data-pp-amount". The code was added to the product.data.tpl. What variable/code do I use for the product price to do this?
See code below
data-pp-message
data-pp-style-layout="text"
data-pp-style-logo-type="inline"
data-pp-style-text-color="black"
data-pp-amount="ENTER_VALUE_HERE"> <=== I need the product price variable/code for this
Thanks for your help.
Try
{$product.price}