create a function code for woocommerce that creates an attribute "druifsoort" with a value "syrah" for a product that's newly created with the category "rode-wijn". if the product allready has an attribute "druifsoort", this action can be ignored

Job ID: 37405991

Budget: €30 – €250 EUR

I am looking for a freelancer who has experience with WooCommerce and coding in PHP to create a function code for my website. The function code should perform the following tasks:

- add an attribute called "druifsoort" with a value of "syrah" for a newly created product that belongs to the category "rode-wijn".
- If the product already has an attribute called "druifsoort", the action of creating the attribute can be ignored.

Ideal Skills and Experience:
- Experience with WooCommerce and PHP coding.
- Knowledge of creating attributes and categories in WooCommerce.
- Attention to detail to ensure the function code is implemented accurately.

Please note that there is no specific deadline for completing this task.
Related categories: PHP WordPress Software Architecture MySQL WooCommerce