Skip to content

PayPo Banner

Availability:

  • Product page
  • Bundle page
  • Loyalty product page
  • Loyalty bundle page


The paypo_banner module is used to render a banner for PayPo payment method on a product or bundle card.

Module source code

{% set paymentPayPoSettings = ObjectApi.getPayPoBannerSettings() %}

{% set isOnlinePaymentBannerVisible = paymentPayPoSettings.getOnlinePaymentIsActive() and paymentPayPoSettings.getOnlinePaymentBannerEnabled() %}
{% set isP24BannerVisible = paymentPayPoSettings.getP24IsActive() and paymentPayPoSettings.getP24BannerEnabled() %}
{% set locale = ObjectApi.getShopLocale() %}

{% if (isOnlinePaymentBannerVisible or isP24BannerVisible) and (locale.locale == 'pl_PL') %}
    {# Paypo banner available only in polish #}
    <iframe src="https://static.paypo.pl/badge/" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
{% endif %}

Module configuration schema

[]