Skip Navigation

[Resolved] Unable to charge with cred commerce

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to create a User form that is integrated with Forms Commerce. I am trying to select the option "The form specifies the product according to the value of this custom field" but my field never appears.

Solution:
- Create a select field in User profiles
- In the select field, create options for each Product. Use the Product ID as the "Custom field content" and the Product title as the display text
- Insert the custom select field in the New User Form and save the Form
- Reload the page if necessary and click the refresh icon next to the input for "The form specifies the product according to the value of this custom field:"

This support ticket is created 5 years, 9 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)

This topic contains 3 replies, has 2 voices.

Last updated by Ido Angel 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1205655

Hey,

I am trying to sell memberships. Each membership is for a family, hence constructed from a few products. For example, a family can have 2 adults and 3 children (adults and children being separate products, which different prices).

I was trying to create a user form then select "The form specifies the product according to the value of this custom field", but the field never comes up.

I tried:

1) a custom field in the actual form (radio button)
2) a custom user field
3) a custom product field

In all 3 cases, the "select a custom field" box stays empty.

any ideas?

thanks!

#1205760

Hi, a custom select field should work for this. Each option should correspond to a simple Product.
- Create a select field in User profiles
- In the select field, create options for each Product. Use the Product ID as the "Custom field content" and the Product title as the display text
- Insert the custom select field in the New User Form and save the Form
- Reload the page if necessary and click the refresh icon next to the input for "The form specifies the product according to the value of this custom field:"

If that's not working as expected, I'll take a closer look.

#1205804

Yes there was a bug introduced in the drag-and-drop Form builder in the latest release causing some rendering glitches when the Form loads. After about 9 or 10 flickers, you'll be able to see that I've added the Family Members select field to the Form, and I've selected that field in the Commerce Forms settings. The permanent fix for that Forms glitch should be available shortly for automatic update, or you can download the latest copies of Types, Views and Forms now on https://toolset.com/account/downloads.

#1205823

Thx Christian!