mollie / magento2-subscriptions

BSD 2-Clause "Simplified" License
3 stars 5 forks source link

DomDocument->loadHtml & some html elements causes subscriptions options to fail to add #17

Closed Sental closed 2 years ago

Sental commented 2 years ago

When using the DomDocument method loadHtml() if you have a html elements like it produces a warning which means the observer fails to add the subscription options to the product page.

Issue identified in mollie/magento2-subscriptions/Observer/ViewBlockAbstractToHtmlAfter/ChangeAddToCartText.php on lines 56 & 70 in version 1.3.1.

Frank-Magmodules commented 2 years ago

Hi @Sental ,

We are happy to share that we've just released the new 1.4.0 version where we have fixed this issue.
Thank you for opening this issue and for the detailed issue report.

We are closing this issue now but please feel free to reopen the issue if this still occurs.