- kmankuanAsked on January 14, 2018 at 11:02 PM
Hello, can you guide me how I can set quantity 1 for this widget?
- JotForm SupportNik_CAnswered on January 15, 2018 at 06:13 AM
I checked your form and that product is set with quantity one:
Do you still have the problem with this product?
- kmankuanAnswered on January 15, 2018 at 09:04 AM
Hello, I mean when start the form and choose any of the product, by default appear 1, not white space, so if I have 10 options in the products, I do not need click 20 times to add all options, because now I have to click dropdown(1 time), click choosing 1(2 times).
- JotForm SupportNik_CAnswered on January 15, 2018 at 11:57 AM
Thank you for additional information.
That should work like that, but since you enabled "Create Sub Products from Options"
If you disable that option then the quantity will work as intended.
Also, if I may, what is the purpose of quantity if they are all selected by default and the only option is 1?
- kmankuanAnswered on January 15, 2018 at 04:13 PM
Hi, because one option iqual one book, my client 100% will buy 1 for their kid, each grade of the school will have around 10 books.
I try with the text box option, but not work, can you take a test and help me to achive it?
- JotForm SupportKevin_GAnswered on January 15, 2018 at 05:41 PM
I think it will not be possible to have a default quantity selected by default while the "Create sub products from options" and "Special pricing per option" are enabled on the product, this because having such option with a default quantity will automatically charge the customer when he selects such product and he would not be aware of that (purchasing all the sub products even when he does not want all of them).
Now, having the quantities options empty allows the user to select the sub products he/she wants only.
If you disable the options above mentioned then it will indeed have the default quantity selected by default, this works since the the customer is charged for one product only and he selects the product he wants to purchase:
I hope this helps.
- kmankuanAnswered on January 15, 2018 at 08:11 PM
this because having such option with a default quantity will automatically charge the customer when he selects such product and he would not be aware of that (purchasing all the sub products even when he does not want all of them).
default quantity will automatically charge the customer when he selects such product "This is I want to do in this case, "
Because in there my customer will tell me, or he/she will put to 0 or nothing if not want to take some option, but in my special case mayority customers will take all to buy(so here, each produc have around 11 options are books items, and I have to click 22 times for each customers), in the scene if not want to buy all options, they will tell us do not want to buy some items, here I only take change of some options, 1 to 0, I hope you can understand me. Here will not appear scene like you say "purchasing all the sub products even when he does not want all of them"
please help me to accomplish this issue.
- JotForm SupportJed_CAnswered on January 15, 2018 at 10:33 PM
Thanks for the response.
Like what my colleagues mentioned in their previous post, it is currently not possible to set a default value if "Create sub products from options" and "Special pricing per option" is enabled.
You will have to disable this option and create a separate item for each sub-product if you want to assign a default value. Also, you are currently using the new layout which doesn't allow you to export the form's source code. If you really want to set it to default, you will need to change your form layout to the "All questions in one page" then export your form's source code.
Once you have the full source code, you can set a static value by editing the source code. Add the selected value to make the option set as default using the form's source.
Again, that can only be possible if you download your form's source. I hope this helps. Let us know if you have any questions.
- kmankuanAnswered on January 18, 2018 at 05:15 PM
Hello, thanks, that can resolve my problem.....I think Jotform team are still the best guys...
- kmankuanAnswered on January 18, 2018 at 05:36 PM
One thing more, some code I shoud use(I am not coder, is possible guide me to do that) to add total counter field and selected items counter field to Product in my form?
- JotForm SupportKevin_GAnswered on January 18, 2018 at 06:24 PM
Alternatively, you may change the current way how you have your products and use basic fields instead to display the products as well as the quantities, then perform the calculations to get the total and pass it to the payment field, this will also help you to set the default quantity selected.
These guides will help you performing the calculations to get the total and achieve what you want on your last reply:
I hope this helps.