thanks !
Changing product price according to period
Collapse
X
-
Hi yberges,
Such logic can be easily implemented by Formula:
Create a Workflow for Product entity with `After record saved (created or updated)` Trigger Type, add `Execute Formula Script` action and paste the formula inside.Code:$a = '2022-08-12'; $b = '2022-09-12'; ifThen(datetime\today() >= $a && datetime\today() <= $b, costPrice = 10); $c = '2022-09-13'; $d = '2022-10-15'; ifThen(datetime\today() >= $c && datetime\today() <= $d, costPrice = 20);
Also, if you don't have an Advanced Pack, you can insert the formula into Administration -> Entity Manager -> Product -> Formula.
Documentation:
Last edited by Vadym; 07-21-2022, 02:35 PM.Leave a comment:
-
Changing product price according to period
Hello is possible to change price of product according to date ?
ex
a product 15€
between 12 august 12 septmbre 10€
between 13 septmbre 15 october 20€
regardsTags: None

Leave a comment: