PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Notification and pricing

  1. 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

    Posted 13 years ago on Wednesday June 22, 2011 | Permalink
  2. 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.

    Posted 13 years ago on Wednesday June 22, 2011 | Permalink
  3. This is just brilliant.

    Thank you,
    Jeremy

    Posted 13 years ago on Wednesday June 22, 2011 | Permalink

This topic has been resolved and has been closed to new replies.