-1

I am new in OpenCart CMS. I know how to create a simple module for OpenCart.But i have some confusion here.

  1. Difference between Admin and Catalog?
  2. I can create user in the admin panel with module.But how to create 2 kind of users who can register/login in the front-end and can sell the item of the OpenCart Store.
  3. How can i configure it so that user can sell any item in front-end? How to fetch data for this?

I want to create 2 kinds of user .One kind user who can 1.able to register and upload his item and able to sell item (named as supplier) and other user 2. just able to sell item (Normal User).so how can i give this authority ?

I have searched and found this stackoverflow link.Please have anyone who can put an end of my confusion about this?

Thanks in advanced.

Community
  • 1
  • 1
Chonchol Mahmud
  • 2,717
  • 7
  • 39
  • 72
  • 1
    you will need a lot more than a module to achieve that. A merchant must have access to the Admin area to add items. The login in the front end is for customers to BUY products, and reviews their personal info and previous orders etc etc ... – user1709251 Dec 31 '15 at 08:55

1 Answers1

2

1) - Difference between Admin and Catalog?

Admin is where you and the staff/partners login to manage the online store. Add categories, products, customers, orders (if you want to take order by phone for example). in short anything that has to do with store management. The Catalog is the facade of your store, it is what a visitor to your site will see.

2)I can create user in the admin panel with module.But how to create 2 kind of users who can register/login in the front-end and can sell the item of the OpenCart Store. I am not sure what you mean by module here. There are two type of users, an Admin user / and a Customer. Admins are anyone who has access to the backend of your store and can performs tasks according to the level of privileges you grant them. if you want someone to be able to post product you must give him/her access to you admin, in other words, you must create an admin user. A customer is just that, anyone visiting your site is a customer.

3) How can i configure it so that user can sell any item in front-end? How to fetch data for this? For this you will need some major work. you will have to create the front end view for submission, with the controller and model that goes with it.

That said, you must consider how a user will be collecting the payment, open cart only allows for 1 payment gateway setting. So if you added your paypal account, that will be only account. But then again, you could work it out, but you will end up making a LOT of changes.

Opencart is easy to modify, the code is straight forward, although subject to debate on its quality, but it's opensource, you could build on it, or fork from it and create your own.

Cheers

user1709251
  • 246
  • 4
  • 16