Guest Posted February 6, 2005 Posted February 6, 2005 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.
Guest Posted February 6, 2005 Posted February 6, 2005 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
Guest Posted February 6, 2005 Posted February 6, 2005 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 <{POST_SNAPBACK}> 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
Guest Posted February 7, 2005 Posted February 7, 2005 You would need to modify the osCommerce codebase to do this. Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.