motou / magento2-store-locator-stockists-extension

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

URL Rewrite does not consider "Add Store Code to Urls" #12

Open genfish opened 7 years ago

genfish commented 7 years ago

Hi again, First, nice update, good job!

I have found a bug when I configure this option: Stores -> Configuration -> General -> Web -> Url Options -> Add Store Code to Urls -> Yes

url-options

In the view "Detail Page" doesn't consider the "Store View".

detail-page

This is your standar result: website.com/stockists/waterloo

But, I have multi store views and the real links are (for example): website.com/stores/waterloo website.com/en/stores/waterloo website.com/de/laden/waterloo website.com/es/tiendas/waterloo

1- Doesn't save the "Store View" url correctly (stores, laden, tiendas) in each case. 2- Doesn't print the store code in template (en, de, es).

Thanks,

ClaudiuCreanga commented 7 years ago

Thanks for reporting the issue. Didn't thought about that setting.

handmadedigital commented 7 years ago

Im planning on using this in near future, just wondering if this bug resolved? @ClaudiuCreanga

PS - Awesome Extension, thank you for making it available!

genfish commented 7 years ago

Not yet. I have configured the links directly in Admin -> Marketing -> URL Rewrite