myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

Compatibility with TheCheckout #231

Open zelarg opened 9 months ago

zelarg commented 9 months ago

Module/theme name

TheCheckout

Pricing

Premium

What problem does this feature solve?

Myparcel widget doesn't show at all when using third party checkout. With Native checkout, it displays fine. There are no errors shown in dev tools console, widget simply does not render.

What should the solution look like?

It shall behave just like in native checkout. Solution suggestions:

Relevant log output

No response

Additional context

We're testing this with new 2.0.0-beta1 version. With older version of myparcelnl this was working OK, although some custom modification was required on checkout module (described here #153). This time around, it doesn't work at all, and event emit (updatedDeliveryForm) is not helping anymore.

What we found out - compared to native checkout - that the container .myparcelnl-delivery-options-wrapper remains empty, even though the modules/myparcelnl/views/js/frontend/checkout/dist/index.iife.js is being loaded and invoked (that suggest assets are loaded just fine). It seems that some condition is "blocking" the widget rendering.

image

It is possible also to send you this third party module should you need to test this, or setup Prestashop with myparcelnl + thecheckout module, if you're interested. Direct contact to module developer: prestamodules@gmail.com

EdieLemoine commented 9 months ago

Hi @zelarg, thanks for taking the time to write such a detailed issue. It might be an issue with how we detect the available shipping methods, which has a large part in determining whether it should render, but I don't have much to go off without seeing it in action.

I'm not sure if the developer would be okay with you giving us a copy of the module, we will send them an email to ask about it.

In the meantime, do you have a (test) site we could access to see what's happening in the checkout? We might be able to figure it out like that.

zelarg commented 9 months ago

Hi @EdieLemoine, I've send the Shop URL to Jochem G. by email. Thank you!

mcrielaard commented 8 months ago

I also use TheCheckout it would be great if MyParcel works in combination with this great Checkout module.