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.

Help using merge tag filter

  1. I currently have an odd pricing structure set up where I needed to conditionally add a product so that it looks as though the user is getting a discount on the second product. I then hid the conditional product with css. I would like to use the nice {all fields} merge tag since there are a lot of products, but I don't want them to see the individual prices or that "invisible" product. I think this is possible using the merge tag filter by using values and id's, but im not a php guy so Im not quite sure how this works. The invisible products are only two id's and im sure price"value" can be stripped in one go.... can anyone help? If it takes a bit id be willing Paypal some money :)

    Posted 11 years ago on Saturday January 12, 2013 | Permalink
  2. That is probably a good way to do it, using the gform_merge_tag_filter. http://www.gravityhelp.com/documentation/page/Gform_merge_tag_filter

    The idea will be to not return the invisible products when returning the data for the all_fields merge tag. You can also filter out whatever pricing information you want as well. If you need help implementing the filter, you might consider posting on our job board or one of the many WordPress-specific sites out there.

    http://www.gravityhelp.com/forums/forum/job-board

    Posted 11 years ago on Sunday January 13, 2013 | Permalink