Each of my products has it own attribute with an expiration date. How can I auto unchecked the option when it expires?

I know there is a module call scheduler which can help to auto publish and unpublished the node. How about the attribute?

1 Answer 1


Scheduler doesn't have any sort of integration with Ubercart. Unless there's existing module out there (I've never heard of it), you'll need a custom module that can hook into the attribute option form & display/store your expiration for each option (via hook_form_alter) & disable it when your option expires (via hook_cron).

  • @Shaen Thanks for your reply. How about only insert data expire date to attribute and I only will auto uncheck once expire. Not longer related to uber cart.
    – peifa
    Apr 17, 2015 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.