hamza Posted January 10, 2011 Share Posted January 10, 2011 i have shopping cart i need to make the related product section in which i can show the related product when user view the product details. do i need to create any table for it ? please guide me about it. thanks Quote Link to comment https://forums.phpfreaks.com/topic/223970-related-product-logic/ Share on other sites More sharing options...
Maq Posted January 10, 2011 Share Posted January 10, 2011 I would imagine the best way to do this is to have a table for product categories. Then in your products table assign each product categorie(s). Quote Link to comment https://forums.phpfreaks.com/topic/223970-related-product-logic/#findComment-1157433 Share on other sites More sharing options...
jdavidbakr Posted January 10, 2011 Share Posted January 10, 2011 There are a lot of ways you can go about it. Like hamza said, you could show products in the same category. You could build a table that links products with related products, and have a place in the admin where you can link products together (like if you have a DVD player as a product, you could link various cables that would be in a different category but could be useful for the DVD player). Whatever you do, you'll need to come up with how you will define the related products and that will probably get you started with what you'll need to do. Quote Link to comment https://forums.phpfreaks.com/topic/223970-related-product-logic/#findComment-1157436 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.