K
K
Kirill Sirenko2020-08-03 22:04:12
Taxonomy
Kirill Sirenko, 2020-08-03 22:04:12

Wordpress ACF (Custom fields) can be linked to taxonomy?

Good afternoon!

There is such a task: there is a separate record type (product), it has a taxonomy (product parameters), which, when adding a product, are added in the amount of 4-5 pieces to each product are different.
There is also a base price, which is entered by custom fields.
I would like to add an additional price for the parameters added to the product.
For example:
Product Table (2000 rubles)
Parameters:
- Oak table (+300 rubles)
- Table with protection (0 rubles)
- Table with drawers (+500 rubles)

And so that in the admin panel you can put down such prices for each individual product additionally.
Does ACF have similar functionality?

Thank you!

PS

Certainly, I found the field type: https://take.ms/uKDFo
Taxonomy, he loads it in the form of checkboxes, but how to add fields for entering the amount to these checkboxes is not clear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sobolev, 2020-08-04
@Chieftec

Does ACF have similar functionality?

Yes. You can create label(parameter) value(price) fields by outputting them as checkboxes.
Next, connect jQuery processing: If the checkbox is checked, then add value to the cost. And we collect the marked parameters in order to see the pricing.
On Woocommerce, in particular, there are plugins like product addon

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question