Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaut shipping are not set for visitors when geolocation is enabled #36133

Open
2 tasks done
momo1240 opened this issue May 13, 2024 · 1 comment
Open
2 tasks done

Defaut shipping are not set for visitors when geolocation is enabled #36133

momo1240 opened this issue May 13, 2024 · 1 comment
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

Comments

@momo1240
Copy link

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

@momo1240 momo1240 added Bug Type: Bug New New issue not yet processed by QA labels May 13, 2024
@florine2623
Copy link
Contributor

Hello @momo1240 ,

Your issue is similar to : #19134

Could you confirm ?
Thanks!

@florine2623 florine2623 added Waiting for author Status: action required, waiting for author feedback FO Category: Front Office NMI Status: issue needs more information Carriers Label: Which BO under menu is concerned Geolocation Label: Which BO under menu is concerned and removed New New issue not yet processed by QA labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants