Post by majiji » Tue May 05, 2020 2:10 pm

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

Newbie

Posts

Joined
Mon Aug 14, 2017 3:35 am

Post by cmsroom » Wed May 06, 2020 9:38 am

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

You may like these extension : - https://www.opencart.com/index.php?rout ... r=cmsrooms


New member

Posts

Joined
Fri Sep 28, 2018 1:37 am
Who is online

Users browsing this forum: No registered users and 101 guests