What's New
- AuthorPosts
Hello,
I’ve just bought your Easycheckout module but it appears it’s not working with Mondial Relay
(a carrier which allow customers to get their orders delivered to pickup points)Mondial Relay Prestashop module on addons.prestashop.com
https://addons.prestashop.com/en/collection-points-in-store-pick-up/1752-mondial-relay.htmlAlso directly downloadable from their website below (last version 2.3.2 for Prestashop 1.7)
https://www.mondialrelay.fr/media/101280/mondialrelay_2.3.2-1.7.zipDefault checkout is working on my online test Prestashop install (i can send you credentials and FTP info).
When Easycheckout is enabled and Mondial Relay selected as carrier… nothing happens (no pickup points
are displayed)I uploaded screenshots for better understanding.
Best regards
Attachments:
Hello,
Sorry for the very late answer.
Unfortunately, Mondial Relay’s prestashop module (current version: 3.0.3 for Prestashop 1.6/1.7) has been altogether changed so i will have to find again another solution.
I will try again this week and share if possible, it should be similar to what’s sunnytoo did with ‘colissimo_relais’
Solution for Prestashop 1.7.6.5 + Module Mondial Relay 2.3.4
File to modify
/modules/mondialrelay/mondialrelay.phpSearch line below
if (in_array($file, array(‘order-opc’, ‘order’, ‘orderopc’, ‘amzpayments’))) {And replace it with
$page = Context::getContext()->smarty->getTemplateVars(‘page’);
if (in_array($file, array(‘order-opc’, ‘order’, ‘orderopc’, ‘amzpayments’)) || $page[page_name] == ‘module-steasycheckout-default’) {Attachments:
Do some tests to see if everything works.
Check the “Mondial Relay v3 by 202 ecommerce” section under the Compatibility tab on this page https://www.sunnytoo.com/product/easycheckout-one-page-checkout-module-prestashop-1-7Hello,
Me again, i found that Mondial Relay v3 works well with Easycheckout module but there is only a little feature missing:
– when customer select “Mondial Relay” as a carrier but forgot to select a pickup point (it can happen if it’s its very first order and he/she is not very used to order) there won’t be any javascript alert OR error message
when one submit the form.This feature IS inside the Mondial Relay module but easycheckout current integration (https://www.sunnytoo.com/product/easycheckout-one-page-checkout-module-prestashop-1-7#mondialrelay)
does not take into accountFiles (Mondial Relay v3.0.3 for Prestashop 1.7):
modules\mondialrelay\_dev\js\front\checkout\checkout-17.js
(file to modify is modules\mondialrelay\views\js\front\checkout\checkout-17.js)I added this code to the /modules/steasycheckout/views/js/front.js file, see attached pic.
var slectedDeliveryOption = steco_delivery.getSelectedDeliveryContainer(); if(complete && slectedDeliveryOption.find('#mondialrelay_content').length && !slectedDeliveryOption.find('#mondialrelay_change-relay').length){ show = false; alert(MONDIALRELAY_NO_SELECTION_ERROR); }
Do some tests, if it doesn’t work as expected, then restore the backup front.js file I created.
Attachments:
Hello,
I have the Prestashop 1.7.8.7 + Mondial Relay 3.1.5 + Easy Checkout 2.8.3 versions.
I have modified the front.js of the Easy Checkout module but not the Mondialrelay Checkout-17Js.
If Easy Checkout deactivates, and I use the PS default process, everything works well and by validating the car, if you do not select a collection point, the “confirm” button is deactivated.
thanks and regards
JoseHi,
See the “Compatibility” tab on the module description page: https://www.sunnytoo.com/product/easycheckout-one-page-checkout-module-prestashop-1-7, it requires to integrate the Mondial Relay to be compatible with the Easy checkout module.
Best regards.Attachments:
Hello,
If I have already made the compatibility modifications in the mondialrelay.php and Checkout-17.js file.
The module is well shown and you can select the delivery point, the problem is that if you do not select any, it does not warn and you can continue with the payment and in the order no place of delivery appears.
Thank youJose
- AuthorPosts
You must be logged in to reply to this topic.