Jump to content

Find Similar Products


smokyyyyyy

Recommended Posts

hi My first language is not english so i hope you bear it

i am new to php am am making my shopping Cart as my web engineering course i have made everything i all want to know how to i show similar products when a user click on any product details it open new page and shows a detail of that page i want to show similar products list below to details so can any tell me how to do it plzz kindly see the pic in atttachment i have posted snap shop of my page i put similar product statically i want to show it dynamically from tha data base kindly answer please

regards

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/231988-find-similar-products/
Share on other sites

well i do not have family column on my table i  have id, product _name, catagory, sub catagory,details,image, price

these are my columns in my table ......and in the picture in simlar products catagory

anything possible without add new column?

I would imagine 'category' and 'sub_category' would be the column(s) you want to check for similar products.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.