Skip to content
Advertisement

Tag: woocommerce

Add_filter to add new column to Woocommerce product attributes table (Attributes add / edit page)

I would like to add a new column to the Attributes table on the Attributes add / edit page within Woocommerce / Wordpress admin, using the Wordpress / PHP add_filter command. As a reference, to add columns in WordPress admin to the Woocommerce All Products add / adit table, the following filter works: add_filter( ‘manage_edit-product_columns’, ‘add_product_column’, 10, 1 ) The

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