What's New
This topic contains 5 replies, has 2 voices, and was last updated by lafoliedessenteurs Sep '19.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
This topic contains 5 replies, has 2 voices, and was last updated by lafoliedessenteurs Sep '19.
Hi team,
I have a weird issue with the colissimo and easycheckout modules: it happens when you select the pickup method.
Here is the use case to reproduce the issue:
You are logged in, and have a cart.
You go to the order page (it does the same if you go directly or not directly to the one page checkout).
You select the pickup method, choose a pickup location from the popup, validate it, and then you have to enter your phone number (1s-step image attached).
Then you select the payment and then you can order: so far so good, the order will be passed. (2nd step screenshot)
The issue happens if you go back to the store (for any reasons, if you forgot to add a product…)
Then, when you go back to the checkout page, first bug: the phone number has disappeared (it’s not the case with the standard checkout page), and you have no more the prefix with the flag and you get the green and the red marks together. (3rd-step screenshot attached)
If you try to enter again a phone number, or if you go again over the pickup popup, it will look better, but if you try to do the checkout, it will act as if no carrier has been selected (4th step screenshot – see the red alert on top of the carrier step).
The only way to make it work is to select another delivery method, go back to the store, go back to checkout and select again the pickup method and go over the popup, then it will work.
So it sounds like a refresh/caching issue of the information entered in the delivery step: if you don’t go straight forward to the payment, it’s problematic.
I hope I’m clear enough, I’ll send you the credentials in the next message.
Thanks in advance,
Laurent
Thanks for your very detailed explanation.
Try replacing this code in the /modules/colissimo/views/js/widget.js file to see if the problem can be fixed.
iti = initMobileField();
With
prestashop.on('steco_event_updated', function(){iti = initMobileField();});
The FTP access you sent me doesn’t have permissions to edit files.
I did the change, it looks better but doesn’t solve the issue.
It’s better, because the field to enter the phone number is checked correctly (red mark moving to green), but the phone number is still not cached.
And, the issue remains if you leave the checkout page and come back: even if you enter again the phone number, you can’t do the checkout, it acts as if no carrier is selected.
I updated the permission so you can modify the files by yourself.
You must be logged in to reply to this topic.