Answer the question
In order to leave comments, you need to log in
Where does the price come from when syncing?
Hello. Such a problem.
Worth 1C Trade Management, edition 11 (11.4.13.275)
Worth an Opencart store (OcStore) 2.3
Goods are synchronized between 1C and the store, it is configured that the quantity and price are updated every hour.
In 1C, it is configured through "Exchange with the site"
In Opencart, through the module "Data exchange with 1C v8.xv 1.6.3.10 dated 06/01/2017"
The price of one product constantly changes to the old one (a year ago), although the current one is completely different.
It changes to the current one only with manual full unloading. Just one product.
The product was recreated and started again - the same situation.
I cleaned caches everywhere (and manually too)
In the module settings on the site, I have already changed everything that can be related to the price and the product in general
In the 1C settings, I also changed it to a full upload and to updating prices and balances, etc.
The product is launched in 1C like any other, the price is calculated in 1C - "base price + internal rate of the company + surcharge"
It is very surprising that the price changes by itself even if you turn off synchronization with 1C, but there is no old price ANYWHERE on the site. Searched in MySQL and even stupidly just in files.
Has anyone encountered such problems?
Answer the question
In order to leave comments, you need to log in
Actually, there was a very funny reason.
Recently, an old server was turned on, it had an active copy of the 1C base for some year with configured synchronization, and it simply covered the price. Neighing, deleted that database and everything works :)
By debugging, see where 1C takes the price for uploading to the site. It will be clear where to fix it.
Another option - there is a test database with outdated data, where for some reason routine tasks are not turned off and uploading to the site also works. That's where the price comes in.
ps miracles usually do not happen, dig the logs and you will always find where the problem came from...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question