metabox - Woocommerce add a text field if specific option is selected

admin2025-06-06  10

I need to make active/visible a new filed before 'Add to cart' button, only if user select a specific option.

The case is simple: I sell t-shirt with options: "Small", "Medium", "Large", "Size upon request". If user select "Size upon request" I need to know which size needs.

I found some plugin to get this, but they add field in checkout page, I need before add to cart.

I need to make active/visible a new filed before 'Add to cart' button, only if user select a specific option.

The case is simple: I sell t-shirt with options: "Small", "Medium", "Large", "Size upon request". If user select "Size upon request" I need to know which size needs.

I found some plugin to get this, but they add field in checkout page, I need before add to cart.

Share Improve this question asked Sep 19, 2018 at 7:13 AculineAculine 133 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

SOLVED:
I used the premium plugin "Woocommerce Extra Product Options" (https://themehigh/product/woocommerce-extra-product-options)

Thanks

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749221647a317382.html

最新回复(0)