You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a store exists in tthe backend for a specific country (let's say France for the example) and that we disable the country in magento system configuration, store locator page is broken
Preconditions
Magento Version : M2 CE 2.3.3-p1
Module Store Locator Version : 1.3.9.0
Environment : production
Third party modules : yes but not related
Steps to reproduce
Log in the backend
Go to Sellers > Store
Create a new one in France
Flush cache, go to frontend on the /stores page : map shows up
In the backend : stores > configuration > general > general > country options
In the allowed countries, disable the country "France"
Save
Flush cache, go to frontend on the /stores page : map does not shows up
Expected result
Map should be displayed, even with the store in disabled countries
Actual result
Map is not displayed for excluded countries in the configuration
This is broken with whatever country you choose.
Problem seems to come from the \Smile\StoreLocator\Block\Search::getMarkers function probably when loading the address.
Also, you can see that if you go see the french store in Sellers > Store after having disabled the country, the store has no country associated anymore.
The text was updated successfully, but these errors were encountered:
Hello
If a store exists in tthe backend for a specific country (let's say France for the example) and that we disable the country in magento system configuration, store locator page is broken
Preconditions
Magento Version : M2 CE 2.3.3-p1
Module Store Locator Version : 1.3.9.0
Environment : production
Third party modules : yes but not related
Steps to reproduce
Expected result
Map should be displayed, even with the store in disabled countries
Actual result
Map is not displayed for excluded countries in the configuration
This is broken with whatever country you choose.
Problem seems to come from the
\Smile\StoreLocator\Block\Search::getMarkers
function probably when loading the address.Also, you can see that if you go see the french store in Sellers > Store after having disabled the country, the store has no country associated anymore.
The text was updated successfully, but these errors were encountered: