Display widget via shortcode

  1. Home
  2. /
  3. Qliro One for WooCommerce
  4. /
  5. Customization
  6. /
  7. Display widget via shortcode

Display widget via shortcode

If you don’t want to activate the display of the Payment and/or Banner widgets store wide, you can use a shortcode to display it/them on your desired pages.


Display Payment widget


To display the Qliro One Payment widget on specific product pages you can use this shortcode: [qliro_one_payment_widget]

This will attempt to retrieve the product amount from the page. Depending on the amount being high or low, this will decide which info to use for the widget. For example “Pay in fixed instalments” or “Pay in flexible instalments“.

This will work on the Product pages, but not the Cart page, as a default.

If you wish to display the Payment widget on the cart page, or any other page where an amount cannot be retrieved, you can use the amount attribute, for instance [qliro_one_payment_widget amount=1337]. The amount set will decide which info to print out.

Please note that the payment information displayed is decided by Qliro and not by the plugin.


Display Banner widget


To display the Qliro One Banner widget on specific product pages you can use this shortcode: [qliro_one_banner_widget]

This will work on all pages.