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

Add parameter for index for multistore setups

Cyclonecode opened this issue · comments

It would be nice if we could add a parameter to specify which store/index to use:
node --harmony cli.js productsdelta --partitions=1 --index=vue_storefront_catalog_se

Perhaps we also need then need the set the actual storeId as well. I am thinking that this would make it easier to setup different cronjobs for the delta indexer.

@Cyclonecode this will be cool, can You add this feature please?

@pkarw - Yes I can add this.

Hello @Cyclonecode , May I know how would you do this?
I tried to setup product delta run for multistore, the delta only works for one store, the 2nd store will find no products to sync.