yawkale / nop-umbraco-integration

Integration of nopCommerce and Umbraco
20 stars 15 forks source link

Nop multistore support #9

Closed alecrt closed 6 years ago

alecrt commented 6 years ago

Do you think it woul’d be possible to have a single nop multistore backend with multiple umbraco frontends?

RobertCarlaw commented 6 years ago

Yes but you’d have to extend this api. NOP contains the notion of multi store which is unique by storeID the api would need to pass this around.

alecrt commented 6 years ago

Yep.

Do you know if Nop API plug-in already support it storeId param?

Inviato da iPhone

Il giorno 31 mar 2018, alle ore 11:20, Robert Carlaw notifications@github.com<mailto:notifications@github.com> ha scritto:

Yes but you’d have to extend this api. NOP contains the notion of multi store which is unique by storeID the api would need to pass this around.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyawkale%2Fnop-umbraco-integration%2Fissues%2F9%23issuecomment-377679369&data=02%7C01%7C%7Ce9f7cdb962ed4f24736708d596e8acd9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636580848425222913&sdata=Re3Va5kHbqw3PUP8jdN%2BU8KqFVgpKiVnZc93X%2FSZsvo%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABkjTk__J-X6M1dcMMuirP4SqelzRLqxks5tj0ppgaJpZM4TCYz-&data=02%7C01%7C%7Ce9f7cdb962ed4f24736708d596e8acd9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636580848425222913&sdata=u%2B9h9ieepL3Fc%2B18M67oNtQNhKHq40ynB0NZro8vDdg%3D&reserved=0.

yawkale commented 6 years ago

Nop API plugin, return store_id on select and on created, we are working to add support from our side

yawkale commented 6 years ago

to use in multi-store scenario you need add following keys to web.config:

 <add key="NopStoreId" value="X" />
 <add key="GetProductLimitToStore" value="true" />
 <add key="CreateProductLimitToStore" value="true" />