Hi, I'm trying to figure out the best way of creating a product subtotal and was hoping for a couple of pointers.
I have a multipage form. Most of it is fairly straightforward stuff but the product functionality my client requires falls a bit outside of what GF can manage out of the box. On one page the user selects the type of entry to an event they want (single, double, group) which determines the level of registration fee they pay. This reg fee is a product and on this page my client wants there to be a registration total. So far, so good - I can just use a product total field.
However, on the next page my client wants to offer 3 products associated with the event. If the user chooses 1 or more products my client want this to be reflected in a merchandise subtotal field on this page. A normal product total would carry over the registration subtotal.
Would I be right in saying that the gform_product_total filter is the best way of achieving this? If so is there a way to isolate the specific product fields that should be added up (i.e. the merchandise products) and also isolate the product total field that should be manipulated (the merchandise 'subtotal')? From what I can tell, it's possible to specify a form ID but I'm not sure how to go about manipulating parts of a particular form more specifically.
Hope this makes sense, happy to elaborate if not! Appreciate any help on offer