I have a drupal commerce site that sells courses and events. I need to disable the events variation when the date passes so no one can buy it anymore. But, the content node should stay published even if all the product variations are disabled.

I tried with this rules "How do I use rules scheduler to disable and enable a commerce product entity based on certain date fields?", but they dont seem to work for this because the content dont get disabled.

Can somebody help me with other rule combination?



  • You can use conditional fields so if the current date is more than specified date you can hide that field
    – harshal
    Jan 19, 2015 at 20:21
  • Thanks! That seem to work, but now I have other problem. The rule only work when I edit the product variation. I need that the rule execute itself without me going to the product because there are so much products.
    – Marcos
    Jan 20, 2015 at 15:17


Your Answer

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

Browse other questions tagged or ask your own question.