Important
This ability first appeared in CS-Cart/Multi-Vendor 4.5.1.
When you edit an order, CS-Cart/Multi-Vendor reapplies promotions to that order according to the current promotion rules:
This behavior applies to all 4.x.x versions until 4.5.1.
Starting with version 4.5.1, you can choose whether or not to reapply promotions when editing orders.
Note
New installations of CS-Cart/Multi-Vendor 4.5.1 are already configured to disable the reapplication of promotions. Only those who upgraded from earlier versions need to do it manually.
To disable reapplying promotions after you upgrade to version 4.5.1:
Go to the directory where your CS-Cart/Multi-Vendor is installed.
Open the config.local.php file.
Find the $config['tweaks']
section in that file and add the following line there:
'do_not_apply_promotions_on_order_update' => true,
It should look like this among other lines:
$config['tweaks'] = array (
'...' => ...,
'...' => ...,
'do_not_apply_promotions_on_order_update' => true,
'...' => ...,
'...' => ...,
);
Save your changes. After that, promotions won’t be reapplied automatically when you edit an order. Old promotions will remain applied to the order.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.