shopware5 / SwagPaymentPaypal

A PayPal integration for shopware
http://shopware.com
MIT License
5 stars 16 forks source link

Update ajax_cart.tpl #11

Closed kekster closed 6 years ago

kekster commented 7 years ago

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

shopwareBot commented 7 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.

mitelg commented 6 years ago

thanks for your contribution @kekster :+1: :tada: