Hello house,
Pls tell me how i can add a dropdown box at left side header that shows cities and when i click on any city it displays the particular product assign to that city
Hi Majiji,
Please mention your opencart version.
How you are assigning product to a city from admin panel, have you completed the admin panel section?
At front end on city select you can show the city related product when admin section part is completed.
1: create a drop-down in header.
2: on city selection from above dropdown just maintain a session for that city, use the selected city to filter the product. Modify the product query based on this city.
Thanks
Please mention your opencart version.
How you are assigning product to a city from admin panel, have you completed the admin panel section?
At front end on city select you can show the city related product when admin section part is completed.
1: create a drop-down in header.
2: on city selection from above dropdown just maintain a session for that city, use the selected city to filter the product. Modify the product query based on this city.
Thanks
You may like these extension : - https://www.opencart.com/index.php?rout ... r=cmsrooms
Who is online
Users browsing this forum: No registered users and 101 guests