Skip Navigation

[Resolved] Conditional group for product form

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 2 years ago.

Assisted by: Luo Yang.

Author
Posts
#2606647

Tell us what you are trying to do?
I created a product form in order to add product by user in woocommerce. I can't configure the conditional group correctly. I explain what I need: Once the user choose the product category of the product it will open up different attribute that he has to fill in depending on the category chosen.

For example if a user chooses Drivers the following attribute show up: Driver loft, shaft flex etc...

If he chooses shoes the following attributes show up: Shoes size, brand etc...

Thank you for your support.

Regards,

Manuele

#2606819

Hello,

Toolset post form does not support Woocommerce product attribute by default, see our document:
https://toolset.com/course-lesson/creating-front-end-forms-for-adding-woocommerce-products/#what-kinds-of-products-you-can-add-with-forms

You can create Toolset forms for adding and editing Simple Products and External/Affiliate products. You cannot create Toolset forms for Variable and Grouped products.

Here is a document about "Using WooCommerce Fields in Product Forms":
https://toolset.com/course-lesson/enabling-additional-woocommerce-fields-in-product-forms/
For your reference.

#2606895

Hello, thank you for the answer.

I want to upload simple products only, so I can't let the user choose the product attribute? There is not a way to do so? For our website is essential to do so.

Please let me know.

Regards,

Manuele

#2606929

In order to let you know better the situation our attribute are saved as taxonomies and we need that the user can choose from a dropdown menu the alternatives that are present in each attribute taxonomy.

#2606949

How do you save the product attribute as custom taxonomies?
How do you put the product attribute into post form?

Here is a sandbox website:
Login URL: hidden link

Can you reproduce the same problem in above test site?
I need a live website to test and debug, thanks

#2606953

Hello, thank you for your reply.

With the sandbox that you sent I can't find any taxonomies.

I can share with you in a private way the credentials of our website in order to enter in it and you can see our form.

Let me know how to share the credentials login.

Regards,

Manuele

#2606957

In the sandbox I created a category and an attribute and I created a form that once you choose the category than you can choose the attribute.

#2607301

Thanks for the details, I am checking it in the sandbox website, will update here if find anything

#2607323

There isn't such kind of built-in feature within Toolset Forms plugin, the "Conditional Display for Form Inputs" feature works for displaying different fields, it can not work for displaying different options of fields, see our document:
https://toolset.com/course-lesson/conditional-display-for-form-inputs/

You can add a feature request:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
our developers will evaluate it.