I am working on e-commerce website in Wordpress with Woocommerce plugin. The problem is that I have to show products based on cities (currently I have two cities). The Flow of the site should be that when user come to the site he will be shown a popup box which contain a dropdown of cities, when user Select a city then city related products will be shown.
I have two solutions to complete this tasks:
- Creating multi site: problem is that with this solution that I have to setup separate sites and all the sites have same look and feel and some products are common in all stores. this will make data redundant but also take time to setup, customize and products uploading on each site.
- Second Solution is to create a filter that will show products on the shop based on user selected city. problem is with this solution I did not get it how to make filters and attribute in products and make search them, I searched out plugins for this task but did not find any to solve this problem.
The theme I am using superfood. I am stuck between in these solutions, I did not know which one is best for me and how to solve these related problems. I will be very grateful to give any clue or solution that you may think will suitable for me.