Create Sub-Products Based on a Product Option

Last Update: May 7, 2017

There are times when you offer a product with multiple variants and you want your customers to be able to choose many of them. Instead of creating a separate product entry for each variant, JotForm can automatically create sub-products for you by specifying which option to base them from.

Say, you are selling T-shirts, and you are offering them in Red, Green, Blue, and Yellow. By ticking this check box, the specified product option will be broken down into sub-products from which your customers can choose.

Here are the steps on how you can setup sub-products on your payment field.

1. First, I presume you are already familiar on how to setup a payment/order form? You can check this guide for the basics.

2. Now we can only create sub-products if and only if the PAYMENT TYPE option is set to SELL PRODUCTS.

3. In the payment wizard after adding a product, you need to first add a QUANTITY.

4. Now select "Dropdown" or "Textbox" in the "Show Quantity on the Form as" section, then save the changes by clicking the "Save Quantity" button.

5. In the product details, you can see that you already have the QUANTITY there. Next, we add a Product OPTION.

6. Here you can define your sub-products. In this case, I want to have different color options for my t-shirt product. You'll need to enable the "Create Sub Products from Options". Then list them down in the "Options" table. Click the "Save Option" button to save the changes.

7. In the product details, you will now see these two attributes on your product, a QUANTITY and OPTION. Click the "Save Product" button to save the changes.

8. Here's an example form that has a sub-product option:

What if you want each variant to have a different price? Easy, by enabling the "Special Pricing Per Option", you will be able to specify a price for each particular variant. Here's a guide for that: What is Special Pricing

Got any comments, feedback or suggestions? Head off to our support forum and post a thread with your message.


Mark Targett (March 29, 2014 at 10:28 AM)

"enable special pricing" has a strike through it and i cannot enable.

View Answer

omacworld (June 03, 2014 at 07:32 PM)

Was hoping to (ab)use this and "Shipping" as a "setup" fee for an event registration. I am setting up a martial arts tournament and have multiple events in the tournament (sparring, performance, wood breaking, etc). I want to charge $50 for the first event and $10 for each additional event. I thought I could set up an Event product and create sub-products at $10 each, then set a shipping charge of $40 for the first Event product. Unfortunately, it treats each sub-product as a new product and charges the shipping for each one. Is there any other way around this?

View Answer

socialgoodsco (June 23, 2014 at 07:25 PM)

No matter how many products I list under the option, only the first 2 ever show up in the form preview. Any fixes to this?

View Answer

socialgoodsco (June 23, 2014 at 08:01 PM)

Just a follow up to my above question, I am using payment wizard, I believe it is the "purchase order" - the option that does not integrate with actual payment at checkout.

View Answer

socialgoodsco (June 23, 2014 at 08:28 PM)

One more follow up comment - This only happens when my quantity is set to custom quantity (blank form field to fill in qty). I thought as a workaround I might try changing the quantity field to a dropdown instead - but this causes part of the form to cut off. When I set the qty field to a dropdown, I see 2 and a half color options (out of the 18 I input), and the rest are cut off. The third option is cut in half right down the middle and the others dissappear.

View Answer

wvu1996 (September 13, 2014 at 04:31 PM)

it would nice to be able to subdivide by color and size

View Answer

neilmsheldon (September 23, 2014 at 03:34 PM)

It would be nice to be able to set custom quantities for the subproducts, instead of a drop down.

View Answer

Creeksidetshirts (February 11, 2015 at 08:25 PM)

Only numeric values are accepted is shown when I try to use special pricing

View Answer

natlmedia (June 22, 2015 at 03:01 PM)

what if the price is different for each quantity (within the subcategories) ? Say Red shirts are $10 each when they buy 2 or more. but when they buy just 1 the price is $12. Can it do this?

View Answer

dusty_444 (June 30, 2015 at 10:42 PM)

Create sub-products is lined out on all options - Using standard PayPal

View Answer

groca (July 28, 2015 at 03:39 PM)


I'm trying to do exactly what you have in your first example above. T-shirts size with quantity. A quantity option is present. I want the user to be able to choose from different t-shirt sizes and select a quantity for each one.

View Answer

Stevenbuller (August 19, 2015 at 02:36 PM)

doesnt calculate decimals, i wanted to use this function to add an option to define extra hours of service to a purchase order.

View Answer

victoriousgrant (August 25, 2015 at 11:16 AM)

This doesn't work on my form. when i try to click sub products there is a line through it.

View Answer

metalsunny (August 25, 2015 at 01:02 PM)

is it possible for me to add a download link to each sub product on a single product in the case of digital download?

View Answer

asonpvl6hf (April 16, 2016 at 07:11 AM)

buy retina

View Answer

Send Comment