Closed kekster closed 6 years ago
Hello,
thank you for creating this pull request. I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-8229.
Please use this issue to track the state of your pull request.
thanks for your contribution @kekster :+1: :tada:
Due to a known smarty bug when overwriting / appending templates multiple times, we shouldnt use append / prepend and rather include the parent with {$smarty.block.parent}. If a theme template already overwrites the frontend_checkout_ajax_cart_button_container_inner block, the paypal plugin multiplies the buttons in the ajax cart. Correct template overwrite in custom theme: http://imgur.com/a/DJeVU Paypal plugin without this commit: http://imgur.com/a/h5pvT After this commit: http://imgur.com/a/wPERX