motou / magento2-store-locator-stockists-extension

Stockists store locator extension for magento2 using google maps
MIT License
67 stars 44 forks source link

Individual store page doesn't work with custom route #20

Closed vphat28 closed 7 years ago

vphat28 commented 7 years ago

Hi thank you for the best locator extension on magento 2 .

I'm facing an issue that i'm not sure if it's an issue or I misconfigured somethings. I can view the individual page under with url like this /stockists/view/index/id/3

but i can't do it by using custom route ( i set custom route in backend ). For example /store-locator/view/index/id/3 . It will return 404 page

The main page of locator still works fine under /store-locator/

Can you please advice how I can make single store page work with custom route?

ClaudiuCreanga commented 7 years ago

It should be under /store-locator/custom-url that you set in the backend. Not /view/index/id/3 . Best way to find out is to look into the url_rewrites table to find if something went wrong.

vphat28 commented 7 years ago

oh so i have to set custom-url, it would be nicer if it can work without custom-url also. Thank you