Skip Navigation

[Resolved] Please help me with CRED Plugin

This support ticket is created 3 years, 10 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 3 years, 10 months ago.

Assigned support staff: Christian Cox.

Author
Posts
#1223385
woocommerce custom fields.png

Can I set a quantity based custom field in single product page in WooCommerce using toolset forms plugin (for frontend)? Quantity based means, if quantity is increased by user then custom filed is also increased dynamically and vice-versa.

Please check the attachment. In attachment you can see there are two custom fields (Keyword & Link), that are dynamically changing based on quantity. For now, I am using another plugin for this, but I would like to have toolset handle this so that I get more flexibility.

If this is possible, then please do let me know how it can be achievable.

#1223517

Hi, there's no JavaScript API for Forms, so there's not an easy way to update a custom field value on the front-end based on the quantity selected. That would require custom code that we don't support here in the forums. On the backend, we offer the Forms Commerce API. I could help you set some custom field(s) value(s) on the Order, based on the quantity when the Form is submitted. Let me know if you would like to discuss that in more detail.