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.

adding hidden fields to all pricing fields output

  1. For each entry in the orderform I am creating, I have two hidden fields that the customer wants to appear in the order email.
    See backend of form here:
    http://archiseek.com/gifs/gf1.jpg

    I can hand-create output like this but then the content shows up whether or not the order is greater than zero
    Output adding individual fields and a table here
    http://archiseek.com/gifs/gf2.jpg

    if i use the all pricing fields output in the email, it doesnt pick up the two hidden fields. is there a quick and easy way of getting it to do this?
    Standard GF output but I'd like to add the two fields in bold from the above image
    http://archiseek.com/gifs/gf3.jpg

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  2. Any ideas or suggestions ? Is there a file I could edit?

    Posted 13 years ago on Tuesday October 25, 2011 | Permalink
  3. Bueller?

    Posted 13 years ago on Wednesday October 26, 2011 | Permalink
  4. Hi there,

    Probably the easiest way to accomplish this would be to simply append the hidden field to the product name when displaying the pricing table (and other places the products are aggregated) using the gform_product_info hook.

    Let me know if that doesn't make any sense and I can better explain. :)

    Posted 13 years ago on Wednesday October 26, 2011 | Permalink
  5. Hi. Thanks for the answer. Do you have a more expansive explaination ;)

    Posted 13 years ago on Monday October 31, 2011 | Permalink
  6. David is out today but I have forwarded this to him so he can reply with details when he returns.

    Posted 13 years ago on Monday October 31, 2011 | Permalink
  7. Thanks Carl.

    Posted 13 years ago on Wednesday November 2, 2011 | Permalink
  8. Similar to this - I would like to hide the Pricing info in the email. (I have hidden it with CSS on the front-end) And keep the Product and Qty - any ideas?

    Posted 13 years ago on Tuesday November 8, 2011 | Permalink
  9. @fbrill You would need to create your own custom notification message using the available merge tags rather than using the {all_fields} merge tag. Creating your own message using individual merge tags let you output only what you want to display.

    Posted 13 years ago on Tuesday November 8, 2011 | Permalink
  10. Thanks Carl!

    Posted 13 years ago on Wednesday November 9, 2011 | Permalink

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