Hello,
I have 5 templates (attached) to import prices and discounted prices. These are imported every night and usually works like expected. There have been a few times, and it seems to occur more often recently, that the discounted price of product X also gets added to Product Y. The product that gets the price from the other product, is one row below in the XML file. This has lead to 2 orders of products with a price of around 100 euro for a product that's actually about 6000 euro and one that was 1700 euro. This of course is a big issue. As soon as we've seen problems like this, I've manually run the 5 templates and then the price was normal again.
Today however I also had this problem after manually importing and thus I have the corresponding log file. I've attached this logfile (log.1703) and if you look for:
virtuemart_product_id` = 366
You will find the product that got the wrong price (101.2500). This price belongs to virtuemart_product_id` = 5896
As you can see in the logfile, this product is being dealt with just before the other one. The product with ID 366 should be skipped with this template. That's what happened when I ran the same import again.
Could it be that sometimes the import is still working on one product and it already starts with the next product but then these values get mixed up?
The XML file is also attached.
- roderic
- RO CSVI
- Sunday, 16 January 2022
- Subscribe via email