Seasonal Items/Item Group

Hi all,

any chance to add a feature to automatically disable seasonal items based on date range?

Ex. Xmas Items/Item Groups should be sold only at Xmas time, so should be disabled all other periods of the year.

Thx

Hello,

Did you try Pricing Rule?

https://frappe.github.io/erpnext/user/manual/en/accounts/pricing-rule.html

Though there is no feature to disable Item in the Pricing Rule. But as a work around, you can set item’s price as zero for the given time period.

@umair …thx for the hint, I’ve added 2 custom field in Item DocType, OrderFrom - OrderTo

Is there any way to run server side script once a day to check this 2 fields and disable the Item?

Thanks in advance