Skip Navigation

[Closed] Product Gallery Toolset Forms

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Beda 4 years ago.

Author
Posts
#1565601

Tell us what you are trying to do?
Add an option for a client to add images to woocommerce gallery with toolset forms.

Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/front-end-forms/creating-woocommerce-products-using-cred-forms/

In this documentation it tells you this: "Product Gallery needs to be handled using custom PHP coding. If you need a non-code solution, add product images using custom fields defined in Types."

I am interested in the non-code solution but have no idea what you mean with: " If you need a non-code solution, add product images using custom fields defined in Types." How do i do this? Any other tutorial about this?

Is there a similar example that we can see?
No, only if you are logged in.

What is the link to your site?
hidden link

Thanks
Guido

#1566415

As you've already seen, Toolset Forms supports a range of WooCommerce features when creating or editing a Product Post with a Toolset Form:
https://toolset.com/documentation/user-guides/front-end-forms/creating-woocommerce-products-using-cred-forms/

The Product Gallery, however, can not be used in Toolset forms, and the solution suggested which you mention is meant to be a "substitution" for the WooCommerce Product Gallery.

You would add a repeating image field to the Products Post Type using Toolset, and then add Images to a Product using that field.
Later, in a Post Form, you can let users upload, pick or remove these images from the Product.
https://toolset.com/documentation/user-guides/custom-content/create-image-galleries-using-toolset-and-custom-fields/
https://toolset.com/documentation/user-guides/front-end-forms/add-image-galleries-using-front-end-forms/

Theoretically, you could of course then grab this data and, again using PHP, update the WooCommerce native Gallery with it, but that again would be a bit overkill (saving the data twice) and as well custom code related.

Finally, a hint for if you prefer to choose any Custom Code approach, but need help with it:
we recommend checking out the Toolset Job Board https://toolset.com/contractors/.

I hope this helps!

The topic ‘[Closed] Product Gallery Toolset Forms’ is closed to new replies.