For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGuidesAPI Reference
HomeGuidesAPI Reference
  • Welcome
    • Getting Started with Afterpay Online
  • SHOPIFY - AU, NZ & US
    • Pre-Integration Checks
    • Afterpay Gateway Configuration
    • Afterpay Product Page Display
    • Frequently Asked Questions
  • WOOCOMMERCE - AU, NZ & US
    • Pre-Integration Checks
    • Afterpay Gateway Installation
    • Afterpay Gateway Configuration
    • Frequently Asked Questions
    • Plugin Updates
      • Hooks
      • Shortcodes
  • BIGCOMMERCE - AU, NZ & US
    • Pre-Integration Checks
    • Afterpay Gateway Configuration
  • Neto - AU - NZ
    • Pre-Integration Checks
    • neto-afterpay-gateway-configuration
  • Lightspeed - AU
    • Afterpay Gateway Configuration
  • ECORNER - AU & NZ
    • Afterpay Gateway Configuration
  • Ecwid - AU, NZ & US
    • Afterpay Gateway Configuration
  • Enflexion - AU
    • Afterpay Gateway Configuration
  • ROCKETSPARK - AU, NZ & US
    • Afterpay Gateway Configuration
  • SPIFFY STORES - AU
    • Afterpay Gateway Configuration
  • Kynect - AU & NZ
    • Afterpay Gateway Configuration
  • Website World - AU, NZ & US
    • Afterpay Gateway Configuration
  • HaveALook - AU
    • Afterpay Gateway Configuration
  • STORBIE - AU & NZ
    • Afterpay Gateway Configuration
LogoLogo
On this page
  • Afterpay Product Logo
WOOCOMMERCE - AU, NZ & USAdvanced Configuration

Shortcodes

Was this page helpful?
Previous

Pre-Integration Checks

Next
Built with

This section outlines the shortcodes utilised by the Afterpay WooCommerce integration.

Afterpay Product Logo

This is provided for rendering an advanced img tag for displaying the Afterpay logo on individual product pages. The img tag uses the srcset attribute to include 3 different resolutions of the logo for screens with varying pixel density ratios.

1Or make 4 payments [OF_OR_FROM] [AMOUNT] with [afterpay_product_logo]

There are 3 different versions of the logo to chose from:

  • colour
  • black
  • white

The default theme is colour. This can be overridden by including a theme attribute inside the shortcode. For example, if you have a dark themed website and wish to use the white mono version of the Afterpay logo:

1Or make 4 payments [OF_OR_FROM] [AMOUNT] with [afterpay_product_logo theme="white"]