Skip Navigation

[Resolved] Woocommerce products in CRED

This support ticket is created 4 years, 11 months 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1431489

Hello,
is it possible to be able to choose a product among all woocommerce products with cred?

Thanks

#1431643

Hello, yes you can but the best solution depends on what you want to do with that Product. If you have a one-to-many post relationship between Products and some other post type, for example, then the post relationship field in the Form will allow your Users to select from all the different Products to select the parent post.

If you're trying to do something else, like set a custom field value based on the selected Product, then you would have to create a generic select field in the Form, and use a View of Product posts to set the options for that generic field, similar to the approach here: https://toolset.com/forums/topic/use-toolset-views-inside-toolset-form-generic-field/#post-1153069

Then use the cred_save_data API to capture that User's selection and do something with it when the Form is submitted. Let me know if you have questions about that.