Skip to Content

Specific day and specific time range promotion

Dear all,

I have created below custom promotion conditions:

1. a specific day promotion. For example, a promotion on every Wednesday i.e day_of_week condition.

2. a specific time range promotion. For example, a promotion in particular time range i.e 10;30 - 6:30.

  • for checking particular time range created translator class ex].timeRangeTranslator.java

suppose we have created a promotion from backoffice ex] ten_percent_discount_on_sunday added our custom conditions i.e day_of_week,time_of_day and action as percentage discount on cart.

if we publish the promotion for friday ,it gets applied .after that on next day or any another day ex] on sunday that promotion is also gets applied on cart.

why this fridays promotion gets applied on another coming days?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.