Hi!
I’m looking for tips/advice on how to setup an order form. There are multiple methods to accomplish my goal, so I’m really just looking for insight from someone who may have faced this issue and how best to approach it and whether there are any pros and cons of each method.
If it matters, I’m also using Zapier to process orders, and I would like the pass the “price” field.
I have a form with a single product at a set price, but with a variable quantity.
That quantity is determined based on a calculation (that I’ve already) but. Essentially, it’s a yes/no radio button, where yes represents a 1 and no represents a 0 and then a nested form with a single text box field where each entry is one.
So if someone selects “yes” and enters 2 other items to the nested form, the quantity is 3.
To get the total, I have to multiple that quantity by the price.
So the calculation of quantity * price is currently a product field with the type calculation. That works.
Here’s where my options are:
- Storing the price in another, hidden product field, but that should always have a quantity of 0. Setting this to 0 seems confusing.
- Create a “number” field that stores the price as a hidden field with a default value, and multiple that by the quantity. This seems like a good option.
- Something else?