Skip Navigation

[Resolved] Taxonomy for commerce form

This support ticket is created 3 years, 12 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by johnattanC 3 years, 12 months ago.

Assisted by: Shane.

Author
Posts
#2280865
Capture d’écran 2022-02-01 à 16.24.56.png

Hi,

We are creating a classifieds website using Toolset.

We have a CRED Form for adding ads. In this form we have a taxonomy field "materiels".

Now we would like to use this taxonomy field to adapt price when charging the user. Only select or radio fields are available.

Is there a way to do that and to choose terms of this taxonomy field to charge the user ?

#2281007

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

Unfortunately not, this option requires a custom field so you won't be able to use the taxonomy to specify.

Now we would like to use this taxonomy field to adapt price when charging the user. Only select or radio fields are available.

These fields are allowed because the user can only specify 1 value for those fields. Taxonomy fields allow users to select multiple values.

Please let me know if this clears this up for you.

Thanks,
Shane

#2281029

Thanks for your support.

I understand, but we still have a problem.
We created a taxonomy field, to have a hierarchical option, with is not possible with custom field.

The ads' price have to change depending the taxonomy term.

I understand that if we "transform" our taxonomy field in custom field, it will enable the price regulation.
But how can we get this custom field values hierarchical ?

Another question : is there a way to create a mirror field ? In this way, we could have a second field (custom field) which is automatically selected depending the taxonomy term (in the same form).

#2281169

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Johnattan,

I understand that if we "transform" our taxonomy field in custom field, it will enable the price regulation.
But how can we get this custom field values hierarchical ?

No there isn't the custom fields cannot be created in a hierarchical fashion similar to the taxonomies.

is there a way to create a mirror field ? In this way, we could have a second field (custom field) which is automatically selected depending the taxonomy term (in the same form).

This can be made possible but only through the means of custom coding. Where you will have the custom select field with the same values but then once you select a taxonomy, some javascript will work in the background to then select the corresponding option on the custom field.

Unfortunately the custom code that would be required for this would be out of the scope of our support forum.

Thanks,
Shane

#2281587

My issue is resolved now. Thank you!