V
V
Vladimir Kai2016-07-21 14:03:16
1C-Bitrix
Vladimir Kai, 2016-07-21 14:03:16

How to set the discount activity for all products according to the schedule?

Good afternoon!
There is a task to set up a discount on all products of the online store at a certain time of the day.
Let's say from 18:00 of the current day to 6:00 of the next day.
And so every day.
A discount lowers the price of goods by 50%, for example.
And in the morning it turns off and the prices themselves change to the usual ones.
Question: How to implement and what options are there?
Perhaps from the side of 1C UT 11 version there is an option?
The working unloading of goods and prices from 1C UT to the site is activated.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-07-21
@Logic87

To be honest, I haven't come across this. There doesn't seem to be that functionality in the box.
I think we should look in the direction of handlers... Maybe people will suggest something else.

R
Ruslan Saifullin, 2016-07-21
@Shapito27

1. Create a discount according to your conditions. Set the activity interval from 18:00 of the current day to 6:00. the date is not important.
2. Write a script in which you can change the active period for the created discount, namely, change the date to the current one.
3. Add a script to run in cron, every day of the day.

A
Alexey Emelyanov, 2016-07-21
@babarun

Two scripts. The first creates a discount, the second turns it off. At the end of each script, the cache must be deleted (see tagged cache). Hang scripts on crowns, one at 18:00, the second at 6:00

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question