Skip to content

Commit

Permalink
fix wrong styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jan 17, 2025
1 parent b2e69a1 commit 97d9ecf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ parent() }}
{% if attribute(oViewConf, 'showPayPalCheckoutBannerOnCheckoutPage') is defined and oViewConf.showPayPalCheckoutBannerOnCheckoutPage() %}
<div id="basket-paypal-installment-banner"></div>
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
{% set basketAmount = oxcmp_basket.getPrice() %}
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: basketAmount.getPrice(), selector: oViewConf.getPayPalCheckoutBannerCartPageSelector(), addClass: "mb-5"} %}
{% endif %}
Expand All @@ -13,7 +13,7 @@
{% block checkout_basket_emptyshippingcart %}
{% if attribute(oViewConf, 'showPayPalCheckoutBannerOnCheckoutPage') is defined and oViewConf.showPayPalCheckoutBannerOnCheckoutPage() %}
<div id="basket-paypal-installment-banner"></div>
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
{% set basketAmount = oxcmp_basket.getPrice() %}
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: basketAmount.getPrice(), selector: oViewConf.getPayPalCheckoutBannerCartPageSelector(), addClass: "mb-5"} %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

{% block checkout_payment_main %}
{% if attribute(oViewConf, 'showPayPalCheckoutBannerOnCheckoutPage') is defined and oViewConf.showPayPalCheckoutBannerOnCheckoutPage() %}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
{% set basketAmount = oxcmp_basket.getPrice() %}
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: basketAmount.getPrice(), selector: oViewConf.getPayPalCheckoutBannerPaymentPageSelector(), addClass: "mt-5"} %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% set paypalInstallmentPrice = oxcmp_basket.getNettoSum() %}
{% endif %}

{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: paypalInstallmentPrice, selector: oViewConf.getPayPalCheckoutBannerCategoryPageSelector(), addClass: "mb-4"} %}
{% endif %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% set paypalInstallmentPrice = oxcmp_basket.getNettoSum() %}
{% endif %}

{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: paypalInstallmentPrice, selector: oViewConf.getPayPalCheckoutBannerSearchPageSelector(), addClass: "mt-4"} %}
{% endif %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% set paypalInstallmentPrice = oxcmp_basket.getNettoSum() %}
{% endif %}

{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal_installment.css') }) }}
{{ style({ include: oViewConf.getModuleUrl('osc_paypal', 'css/paypal.min.css') }) }}
<div id="start-paypal-installment-banner"></div>
{% include "@osc_paypal/frontend/installment_banners.html.twig" with {amount: paypalInstallmentPrice, selector: oViewConf.getPayPalCheckoutBannerStartPageSelector(), addClass: "mt-5"} %}
{% endif %}
Expand Down

0 comments on commit 97d9ecf

Please sign in to comment.