Skip to content
Advertisement

Tag: checkout

Make order notes field required for variations with specific product attribute term in WooCommerce

I have few variable products with variation that have pa_size and pa_color attributes (taxonomy). I have 4 sizes (“s”, “m”, “l” and “special”) and 4 colors. My problem is, for the “special” size: Customer must fill order notes in checkout page, but since it is not a required field, they easily miss it. I found some code for product categories

Advertisement