From d0b3d8060348a2c64adc7c7d12e435a89d0579c9 Mon Sep 17 00:00:00 2001 From: Tim Bischoff Date: Tue, 27 Aug 2024 10:12:29 +0200 Subject: [PATCH] add PayPal express button design example --- views/tpl/shared/paymentbuttons.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/tpl/shared/paymentbuttons.tpl b/views/tpl/shared/paymentbuttons.tpl index 7d156563..d4c674d8 100644 --- a/views/tpl/shared/paymentbuttons.tpl +++ b/views/tpl/shared/paymentbuttons.tpl @@ -59,6 +59,12 @@ }); [{else}] button = paypal.Buttons({ + style: { + shape: "rect", + layout: "vertical", + color: "gold", + label: "pay", + }, [{if $oViewConf->getCountryRestrictionForPayPalExpress()}] onShippingChange: function (data, actions) { if (!countryRestriction.includes(data.shipping_address.country_code)) {