Import csv. The problem with adding to the warehouse

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
27bit.ru
Posts: 36
Joined: 15 Jan 2017, 05:36

Import csv. The problem with adding to the warehouse

Post by 27bit.ru » 21 Jan 2017, 01:42

Hi.
My cms typo3 7.6.15, aimeos 16.10.3, bootstrap pack 6.2.16, Linux, PHP Version 5.6.26, mysql 5.6.31

I did the import of goods to the store.
All went well, but when you add product to cart, write error -"No stock for product ID "1" and warehouse "default" available".
I added in the import file new data, also added a new team in TypoSettings to scheduler.


TypoSettings
...
stock {
11 = product.stock.warehouse
12 = product.stock.warehouseid
}
...

file csv
...,"default","1",...

but after the import, the goods in the warehouse are not added.
and those that have been previously added by hand - are removed.
mysql tables -"mshop_product_stock" resets everything to its original state.
What could be the problem? Import error does not give, it all goes well, but the table does not add.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Import csv. The problem with adding to the warehouse

Post by aimeos » 21 Jan 2017, 14:59

Your settings are wrong. It should be
...
stock {
11 = product.stock.warehouse
12 = product.stock.stocklevel
}
...
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply