I'm making a webshop that sells tickets for events. And I want that the "Add to cart" button isn't displayed when the event date has passed. But I'm struggling with the Rules module.
Can someone help me out? I'm using ubercart
If you're using Drupal Commerce, this question seems to provide a step-by-step of what you're looking for.
At the very least it should point you in the right direction and give you a better sense for how Rules integrates with Commerce.