Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Allowing client to view report on their item


Guest

Recommended Posts

Posted

I run music-utopia.com which is an online cd store that supplies cd's on consignment.

 

Is there anyway to allow my clients to log into admin and track the sales of their item and page views without seeing everyone elses things?

 

I have installed the admin contribution so I can allow them to only see one part of admin, but I can't seem to find a way to show them only their cd's stats.

 

any help would be appreciated.

Posted

You should introduce a vendor_id to the product that will be added to the orders_products table when the product is purchased - you can then query this. You do not need to give them access to admin - create new files based on account_history.php and account_history_info.php and link to them from account.php - use your vendor_id (match this to their customer_id) and query the orders and orders_products tables using the vendor_id.

 

Matti

Posted
You should introduce a vendor_id to the product that will be added to the orders_products table when the product is purchased - you can then query this.  You do not need to give them access to admin - create new files based on account_history.php and account_history_info.php and link to them from account.php - use your vendor_id (match this to their customer_id) and query the orders and orders_products tables using the vendor_id.

 

Matti

 

 

Thanks but does that mean I have to do it for them? or can they do it themselves? sound a bit confusing to me...lol

Posted

You would need to modify the osCommerce codebase to do this.

 

Matti

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...