Made improvements to get discounts from cs-cart [file]11505[/file] https://crm-onebox.com/ru/support/online-stores/8803-dorobka-sinhronizatsii-z-cs-cart/
But now it does not work quite correctly, because if there is a special discount for a product, then it is duplicated in the array of order discounts and it turns out that it is applied twice, since it is indicated for both the product and the order.
Therefore, you need to do:
1) if "bonus": "order_discount" - then apply the discount to the order [file]11506[/file]
2) If "bonus": "discount_on_products" - then do not apply the discount to the order [file]11507[/file]
You can save it to the same setting, as this will fix the work of getting discounts
Made improvements to get discounts from cs-cart https://crm-onebox.com/ru/support/online-stores/8803-dorobka-sinhronizatsii-z-cs... But now it does not work quite correctly, because if there is a special discount for a product, then it is duplicated in the array of order discounts and it turns out that it is applied twice, since it is indicated for both the product and the order. Therefore, you need to do: 1) if "bonus": "order_discount" - then apply the discount to the order 2) If "bonus": "discount_on_products" - then do not apply the discount to the order You can save it to the same setting, as this will fix the work of getting discounts
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up