Multiple Vendors / Stores - Step by Step Code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I have added an option to use Multiple vendors (Stores)
each store can upload it's own products
each store can only view / edit / add it's own products.

Store table was created, and Customers table got a new column storeId.

The code applies only to products and not to orders. Further the export import manager needs to be fixed to support the new table and new Customer storeId column.

I will start working on applying the orders soon but till then, here is a step by step link and a code to download.

http://nopstore.wordpress.com/

I tried to stick to the nop commerce code.
I have duplicated the Manufacturer class to create a new Store entity. I have added a new column called SoreId to the customer table.

Products are linked to store with new product store Mapping table. Customers are linked to the store by the storeId

Admin Customer without store ID can access all (storeId == 0)
Admin Customer with store ID can access only products with the same store ID

if there is another way to publish the code please let me know
12 years ago
This is a GREAT contribution. Thank you!!
12 years ago
Hi, thanks for this customisation.

We're curious what version(s) this customisation supportds?

Also do you have interest in paid customisation to further expand your work here?
12 years ago
working on the 1.9 version.
12 years ago
Hi Again,

Do you have a solution file and database backup with one ZIP of all site files for this customisation?

Seems the rebuild, solution and spelling/grammatical errors in the step by step are causing us issues.

We've started a number of clean NOP downloads and installs with just using your files and updating your files throughout step by step.

No luck for a working version so far.

We have a number of paid features to add on to this but without an initially working version it's hard to document what we are after.

Thanks.
12 years ago
Also what features or pages have been edited for public website display of stores, store logos, products by store etc?

Thanks for any info.
12 years ago
sent u  pm with a complete working solution
12 years ago
Thanks a lot hezyz, Great contribution.

             I have integrated your implementation and it seems to be working fine so far. Are you customizing the orders and dashboard also to show only the details related to a particular store? because i would like to give the admin access to vendor only see orders related to his products.

Regards,
Suni
12 years ago
sunilb wrote:
Thanks a lot hezyz, Great contribution.

             I have integrated your implementation and it seems to be working fine so far. Are you customizing the orders and dashboard also to show only the details related to a particular store? because i would like to give the admin access to vendor only see orders related to his products.

Regards,
Suni


Hopefully I will do it, not that easy since Orders is a combination of several product and can from different  vendors/stores.
U have to divide each product from the orders by the store id.

I have no time at the moment but i will do it soon
12 years ago
ActionWebsites wrote:
Hi Again,

Do you have a solution file and database backup with one ZIP of all site files for this customisation?

Seems the rebuild, solution and spelling/grammatical errors in the step by step are causing us issues.

We've started a number of clean NOP downloads and installs with just using your files and updating your files throughout step by step.

No luck for a working version so far.

We have a number of paid features to add on to this but without an initially working version it's hard to document what we are after.

Thanks.


I`ve got the same thing
Same problem, did all the steps one by one but with no luck
Could you please send me the working solution too
Thanks in advance
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.