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
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Setup a multistore with various languages, install the plugin etc. Make sure it's all working fine IN DUTCH
Switch the store view to another language (tested fr_FR and sv_SE) and try to order
Expected result
Having deliveryOptions available in the correct language
Actual result
No deliveryOptions available. The 'gls/deliveryoptions/services?postcode=XXX&country=XXX&_=XXXX' route returns '[]' (empty array). When calling that same url through the main/dutch store it DOES give the proper results
Workaround
TIG/GLS/Service/DeliveryOptions/Services.php:74 $langCode -> Change into 'NL' (hardcoded language)
I assume GLS only supports a limited amount of languages OR the language code is passed on wrongly. In either case I'd love to have a fallback to English
** Please complete the following information**
Magento version: Mage 2.4.3-p1
PHP version: 7.4.X
TIG GLS version: 2.6 Sorry, 1.4.0
The text was updated successfully, but these errors were encountered:
Because of this, you cannot place the order because it is expecting delivery options while the delivery options are not available, am I correct? I will also internally talk about this issue if the GLS works outside NL.
To Reproduce
Steps to reproduce the behavior:
Expected result
Having deliveryOptions available in the correct language
Actual result
No deliveryOptions available. The 'gls/deliveryoptions/services?postcode=XXX&country=XXX&_=XXXX' route returns '[]' (empty array). When calling that same url through the main/dutch store it DOES give the proper results
Workaround
TIG/GLS/Service/DeliveryOptions/Services.php:74 $langCode -> Change into 'NL' (hardcoded language)
I assume GLS only supports a limited amount of languages OR the language code is passed on wrongly. In either case I'd love to have a fallback to English
** Please complete the following information**
2.6Sorry, 1.4.0The text was updated successfully, but these errors were encountered: