Hi,
I am trying to display the price of my option fields in the notification email.
So far I can only display the name of the option they choose. Is there a way to display the price of the option using merge code.
Regards,
Jeremy
Hi,
I am trying to display the price of my option fields in the notification email.
So far I can only display the name of the option they choose. Is there a way to display the price of the option using merge code.
Regards,
Jeremy
There is a merge tag that will return a pricing summary of all of the product/options selected. It is listed under "Pricing form fields" in the Insert Form Field drop down. The merge tag is {pricing_fields}. This will output all of the pricing information that was submitted, including a total.
If you are trying to return the price of an individual option field, try appending :price to the end of the merge tag. So instead of :
{Option Name:1}
Try:
{Option Name:1:price}
That will return the price for the option, please note it won't be formatted as it's just a raw number so you'll want to include the $ symbol in front of it. We may want to go ahead and make it auto-format the price on our end so it's more user friendly but right now it's designed to be developer friendly which means the raw value is easier to be processed when manipulating the data dynamically.
This is just brilliant.
Thank you,
Jeremy