automate changing a product sku every month
-
How can I automate changing a product sku every month?
here’s why …
On our site ‘https://therealolivecompany.co.uk/’ we use WooCommerce with WooSubscriptions to offer 1-time purchases & subscriptions.
We now want to offer a ‘gift’ subscription of 3 products on a monthly rotation, e.g. January = sku1, Feb = sku2, March = sku3, April = sku1, May = sku2, June = sku 3, July = sku 1, and so on…
For our stock control it is important that the product sku remains constant, whether the product is purchased individually, within a single product subscription, or within a rotating product subscription.
I am aware I can disable the duplicate sku warning using
add_filter( ‘wc_product_has_unique_sku’, ‘__return_false’, PHP_INT_MAX );My question is (finally ?? …
Can I automate the monthly changing sku associated with the ‘gift’ subscription so it is set to (e.g.) January = sku1, Feb = sku2, March = sku3, April = sku1, May = sku2, June = sku 3, July = sku 1, and so on…Very best wishes ??
The page I need help with: [log in to see the link]
- The topic ‘automate changing a product sku every month’ is closed to new replies.