php - I was hoping someone could give m advice on the best way to this solution? -
i updating website client. web site has store locator page, there around 65,000 store locations in store location page. stored within mysql database inthe storelocation table.
this feature works great, fine, however, clients wants give ability users filter store locations locations carry products.
so have 7 total products used filters. thinking using kind of mapping table, maybe 1 many....one store location can hold many products. trying think of quick way link locations table new mapping table.
the solution have came far making table , having go through each store adding products carry. able query against kind of order history table has product names store ordered, allow me create php script link tables. have not found said table, however.
i not sure client impressed 65,000 stores carry products, kudos!
i following:
stores
- 65,000 entries of stores unique id each one
products
- 7 entries of unique products unique id , product name
store_products
- 65,000 - 455,000 entries of store id , 1 or 7 product ids
Comments
Post a Comment