I am working on a website in which I need to disable the Add to cart "Book Now" button after a certain date (Event date) based on the timezone shortcode that I created and also want to relabel it as "Event Ended"
You guys can check the event page.
https://innercamp.com/product/cacao-breathwork/
So can someone help me out on this one because I am not very familiar with the WordPress code?
I want a logic based on the event time shortcode that I created : [product_custom_field field_name="start_date" format_value="true"]
The thing is I have created a template in elementor library and using it on many products page via advanced custom fields for the dynamic values and every event will start on a different date so I don't want my customers to book the event after the release date because it will not make any sense because that product is already live.