vuestorefront / mage2vuestorefront

Magento to Vue-storefront datapump - synchronizes Products, Categories and Product-to-category links between your Magento2 API and NoSQL database of vue-storefront

Home Page:http://vuestorefront.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All pages processed! ... But no products?

opened this issue · comments

Products are importing?

debug: Response received. 2019-02-07T15:50:08.421Z - debug: Storing stock data to cache under: logima_catalog_stock_1 debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/%231%20This%20product%20is%20from%20LogimaRootCategory/media debug: Response received. 2019-02-07T15:50:08.424Z - debug: Storing stock data to cache under: logima_catalog_stock_2 debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/Test%20product/media debug: Response received. debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/Test%20product/options debug: Response received. debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/%231%20This%20product%20is%20from%20LogimaRootCategory/options debug: Response received. debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/links/types debug: Response received. debug: Calling API endpoint: GET https://centos.logima.io/rest//V1/products/links/types debug: Response received. 2019-02-07T15:50:09.586Z - info: Product sub-stage 6: Geting product categories for Test product 2019-02-07T15:50:09.586Z - info: Using category_ids binding for Test product: 2,3 2019-02-07T15:50:09.587Z - info: Product sub-stages done for Test product 2019-02-07T15:50:09.588Z - info: Importing 0 of 2 - [(2 - Test product) Test product] with tsk = 1549554607895 2019-02-07T15:50:09.588Z - info: Tasks count = 1 debug: Response received. 2019-02-07T15:50:09.589Z - info: Product sub-stage 6: Geting product categories for #1 This product is from LogimaRootCategory 2019-02-07T15:50:09.589Z - info: Using category_ids binding for #1 This product is from LogimaRootCategory: 3 2019-02-07T15:50:09.589Z - info: Product sub-stages done for #1 This product is from LogimaRootCategory 2019-02-07T15:50:09.590Z - info: Importing 1 of 2 - [(1 - #1 This product is from LogimaRootCategory) #1 This product is from LogimaRootCategory] with tsk = 1549554607895 2019-02-07T15:50:09.590Z - info: Tasks count = 0 2019-02-07T15:50:09.590Z - debug: --L:0 Level done! Current page: 1 of 0 2019-02-07T15:50:09.590Z - info: All pages processed! 2019-02-07T15:50:09.590Z - info: Cleaning up with tsk = 1549554607895 2019-02-07T15:50:09.590Z - info: Task done! Exiting in 30s... 2019-02-07T15:50:09.605Z - info: { took: 10, timed_out: false, total: 0, deleted: 0, batches: 0, version_conflicts: 0, noops: 0, retries: { bulk: 0, search: 0 }, throttled_millis: 0, requests_per_second: -1, throttled_until_millis: 0, failures: [] }

But no products can be found on the store?

What am I doing wrong?

Looks like there is just one product. Is it correct? If so check if you ran ”yarn db rebuild” in the vsapi then check if you have MSI enabled in Magento and let usi know

Looks like there is just one product. Is it correct? If so check if you ran ”yarn db rebuild” in the vsapi then check if you have MSI enabled in Magento and let usi know

Brilliant! Thank you so much, it worked.

Now I'm getting "Cannot read property 'indexOf' of undefined" when adding product. That I do not understand, how do I go about solving this error?

No idea :) could you please provide some more details? I mean the location of this error?

My apologies for the super late reply. I fixed this by using a more relevant config file. I used old config files from December with a new version of vue storefront ;p