Home › Toolset Professional Support › [Waiting for user confirmation] Redirect URL
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 13 replies, has 1 voice.
Last updated by Minesh 4 hours, 49 minutes ago.
Assisted by: Minesh.
Tell us what you are trying to do?
I am trying to redirect to a Woocommerce product with specific amount of items.
So i will have a form with repeatable fields and a field that will have a number. For example 5 registrants.
When submitting the form and redirecting to a woo product WooCommerce gives the option to include in the URL a specific field with the number of items to purchase. Can i achieve this with Toolset?
Is there any documentation that you are following?
I am not aware
Is there a similar example that we can see?
nop.
What is the link to your site?
hidden link
Hello. Thank you for contacting the Toolset support.
Its not clear yet what exactly you want to do.
Do you mean that after user completes the registration - you want to redirect user to single product post where user should have a inputbox where he can add quentity for the product?
Yes. but the quantity should be preset by a field in the registration form.
Or also maybe based on the number of repeatable fields.
I hope this makes sense
What is your end goal exactly.
Do you mean you want to have a quenty field on registration form and lets say the quentiry filed is set to five (5) - so as soon as user registered with five quentity - user should be allowed to buy five products only or you want something else?
Do you want to manage different quentiry for different user roles?
I need all required details in order to understand your issue that should help me to guide you in the right direction.
The quanity field will set the number of products to buy.
Also it seems that i cannot add repeatable fields in front end form.
But what product?
Lets say on registration form you have a field that holds the number of products to buy and lets say its set to five (5) product.
Now, after registration to what product you want to redirect, is it five different product or its a five quentity for specific product and what will be the specific product or you want that quentiry field should be set universally to five product when user visits any of the single product page?
Are you talking about repeating field or repeating field group?
Hello. I am talking about one product that will be bought 5 times.
I am refering to repeating field group. I cannot add it in a form. Is not in the options
Ok - I still do not know that whole flow and how and what exactly you want to implement as a whole functionality and what will be repeating field group role in that case or user role and quentity field.
However - you can not add repeating field group in to form as repeating field group item itself is a post. You will require separate form to add repeating field group items.
Please check the following Doc:
- https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/
i have done this. but i see no Add more button.
What about the question about the products?
There is no such feature available or you can direct sync the custom quentity field with actual product quentiry field.
Also - you're yet to share your actual workflow and use case to relate all those entiry. You can use the custom quentiry field with your registration form and redirect to specific product page but after that about sync quentiry field value with actual product quentiry field is not something Toolset support. You may have to use WooCommerce hooks that should help you to achieve this.
ok for the product.
What about the repeatable groups in a front end form. i follow the documentation but i get no "add more" button in the form.
any input? I cannot add a repeatable field in my font end form.
hidden link
With the link you shared I do not able to see the form.
- hidden link
Can you please share details you want to add repeating field or repeating field group?
Can you please tell me what form you created and where and for what thing you want to see the "Add More" and send me admin access details. Without knowing your current strcuture and what you have done and what you want to display exactly where I will not be able to guide you in the right direction.
Please share all those required details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.