Remove "add to cart button" when event date has passed
If you're using Drupal Commerce, this question seems to provide a step-by-step of what you're looking for.

How do I use rules scheduler to disable and enable a commerce product entity based on certain date fields?

At the very least it should point you in the right direction and give you a better sense for how Rules integrates with Commerce.