How to increase product variation price based on month
-
Hi,
I have a product created in WooCommerce that has two variations with different prices: Seasonal and Annual. Is there a way to increase *only* the Yearly variation’s price based on month? E.g. From Jan to May the Yearly price is $100, but June to Dec the price is +50% (so $150 in this example). The Seasonal variation price remains the same throughout the year. My initial thought was to use the Sale Price field and schedule, but this adds sale badges and price strikethroughs which I don’t want since this technically isn’t a product sale price.
I’ve installed several plugins that fall short of this particular requirement. The WooCommerce Dynamic Pricing plugin also doesn’t appear to support specific price variation increases either.
I also considered duplicating these products (there are only 8) and installing a scheduling plugin to show/hide the appropriate products, but since the scheduling date includes the year this would require a user updating the date setting every year, which isn’t often I know, but I’d like it to not require any user interaction at all.
Ideally there’s a plugin available to accomplish this, but I’m also semi-comfortable writing custom code given direction to the appropriate hooks.
Thanks in advance for any help/advice!
- The topic ‘How to increase product variation price based on month’ is closed to new replies.