Answer the question
In order to leave comments, you need to log in
Why are discounts not synchronized correctly with 1C?
I unload the order from the site in 1C:UT, they process it there and can assign discounts. Then, after a successful exchange, the site receives the changed prices of the items in the order. They are correct and correspond to the values from 1C.
But, after the subsequent change of the order on the site, this order is again unloaded in 1C, and the prices are not synchronized correctly.
Exactly one of the problems is the different accuracy when counting: in the XML that Bitrix generates, these are 4 decimal places, but 1C ignores this and rounds up to 2 decimal places, which, when converted to 100 or 1000 product positions, gives a significant error.
The second problem is that the "Product" object does not have common values (from the side of Bitrix and from the side of 1C), by which it would be possible to uniquely synchronize prices, taking into account the discount:
on the site: "Price per piece before discount" (BASE_PRICE), "Price per piece after discount" (PRICE);
in 1C: "Price per piece before discount" (Price), "Percentage of discount" (% man.), "Line amount" (Amount).
Answer the question
In order to leave comments, you need to log in
I really wanted to ask a question - if I buy goods from you, will you bite off my change from kopecks?
1C and 1C: Bitrix have units of measure. I don’t know why you need such a product in real pieces in general, but you can play around with them.
The product will most likely come to you in packages.
The price itself, you also should not be 4 characters per package according to the documents.
For example, when you sell one piece, you first need to disassemble the packaging.
, the
online store has several different mechanisms for discounts.
In the product itself, they are not recorded from these rules. Stored separately.
It happens that these mechanisms are not really used. They create a separate product property (old price / discount) and display it in templates where necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question