cancel
Showing results for 
Search instead for 
Did you mean: 

Can you start a coupon at a specific time of day, not just date?

Can you start a coupon at a specific time of day, not just date?

Hello!

 

My site is using Magento 1.9.2.2. I am setting up some coupon options for a client. They were curious if we could set up a coupon to say start at 9 am on 7/20/2016. I know I can set the date, but not sure about the time. Has anyone ever been able to do something like this?

 

Thanks!

2 REPLIES 2

Re: Can you start a coupon at a specific time of day, not just date?

Hi @nickwatkins, this isn't possible in 1.9.2.2 out of the box. You would need to do some custom programming, look for an extension that does this (https://magentocommerce.com/magento-connect) or migrate to 2.1 EE (it's present as part of the staging and preview feature).

--

Developer Relations, Adobe Experience Cloud
Problem solved? Click Accept as Solution!
Still stuck? Check out our documentation: https://magento.com/resources/technical

Re: Can you start a coupon at a specific time of day, not just date?

Hi Nick

You would need to create a custom module for this that either overwrites the coupon validation logic or uses the controller_action_predispatch_checkout_cart_couponPost event to add extra logic to the coupon validation that checks the coupon name and then the valid times you want it to apply to. Please refer to the server time and not the client time - in case customers are in different time zones