Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Adding products by retailer

$
0
0

hello guys, i have a login table where customer and retailer logins are stored. roles that are defined in the table are retailer and customer next to each login details.

customers and retailers both are given user_ids when registering. since i have many retailers who will add the same products but with different product details and prices, i want to know how to differentiate between those retailers when they add products. it will be much easier to do a query by retailer then.

every product added are stored in the tbl_product table in the database. queries are done from that table.

suppose retailer A has added product A, retailer B has added product A as well but with a different description and a different price.

is it possible? can i have a tutorial somewhere?


Viewing all articles
Browse latest Browse all 13200

Trending Articles