Page 1 of 1

Vendors, VendorGroups

Posted: Tue Mar 31, 2015 4:18 am
by mbartens
So the requirements have changed and what I need to do now is expand on the Vendor functionality.
In addition to an email being sent to a vendor when a product is purchased, this vendor needs to be able to log in to the admin and see their product list and orders that need to be shipped.

So, I'd like to work with the ac_VendorGroups table, I understand it is not complete. I referred to how Products are associated to Groups and Users as well.
However, I'm confused about some of the files I need to create. I created all the VendorGroup files and now I'm looking and I see that there is no Vendor.cs file. I'm guessing I need to create it but what is the difference between the contents of the Vendor.cs file and Vendor.Generated.cs file?

Re: Vendors, VendorGroups

Posted: Wed Apr 01, 2015 9:58 am
by Katie
May,
this vendor needs to be able to log in to the admin and see their product list and orders that need to be shipped.
This is a rather large customization. You will probably need to create some custom pages that can only be viewed by the vendor. Using group membership is a good start. You can assign the vendor/user record to his/her own group. Then you would need to create some custom pages that only allow that person to view their own products and orders. I wouldn't recommend that you allow a vendor to login to the admin since there are hundreds of other store functions they would have access to.

Unfortunately, this is a big customization project, and you probably can't expect to get someone here to provide the code changes for this kind of request. Our partners, developers, and the AbleCommerce community are always happy to help, but they would typically help for more specific code questions if you have them.

Thanks
Katie