Copy Woocommerce Product Attributes to Custom Fields
-
How can I (automatically) copy (on product update) a Woocommerce product Attribute to a Custom Field?
Does anyone have any code for this?I’m using plugin, WordPress Meta Data & Taxonomies Filter (MDTF). While most filter options can be created with WC Product Attributes.
In order to create a range slider it only work with Custom Fields. It does not work with product attributes.While I could manually add the data in Custom Fields, the data is already contained as a product attribute. I don’t want to manually have to add it twice and risk any inconsistencies. Plus client does not need know anything about custom fields.
Does anyone know of any (php) code to do this?
- The topic ‘Copy Woocommerce Product Attributes to Custom Fields’ is closed to new replies.