Defaut shipping are not set for visitors when geolocation is enabled #36133
Labels
Bug
Type: Bug
Carriers
Label: Which BO under menu is concerned
FO
Category: Front Office
Geolocation
Label: Which BO under menu is concerned
NMI
Status: issue needs more information
Waiting for author
Status: action required, waiting for author feedback
Prerequisites
Describe the bug and add attachments
Hello guys,
I've noticed an issue on Prestashop when Geolocation is enabled.
instead of displaying default country shipping costs for visitors, shipping is set ''to free shipping''
I think it is because detected IP country is used as default country.
I've set France as default country in "international/localization/parameters"
Default carrier is also set (here cheapest ) and enabled for all groups (visitors, etc..)
When geolocation is disabled, default country shipping costs are set.
When geolocation is enabled :
-acess from default country Ip (France) : default shipping costs are set for visitors
-access from non default country IP (UK for example ) : displays free shipping for visitors
Thank you
Expected behavior
By default Prestashop should use default country shipping carrier for visitors
regardless of detected visitor ip
Steps to reproduce
1.setup a default country
2.setup default carrier (carrier name, cheapest, best grade etc) for all groups
3.enable Geolocation
4. access to shop from non default country ip using a vpn
5. add a product to cart as visitor
PrestaShop version(s) where the bug happened
1.7.8.11
PHP version(s) where the bug happened
PHP 7.4.33
If your bug is related to a module, specify its name and its version
no
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered: