Customizing component appearance

This page is currently under review and might not be totally up to date.

Most blocks in the Loki Checkout are created with a set of the following:

  • XML layout declaration
  • Block class (usually just the generic Template class)
  • PHTML template
  • Loki Component

The PHTML templates are deliberately kept small, so that template overrides in your own theme are easy to upgrade. However, the idea is that most generic customizations are made either via the XML layout or dynamic AlpineJS behaviour.

Last modified: January 12, 2025