Extension Point

Checkout UI Extension: Customizing the Checkout Page

Merchants can use the Checkout UI Extension to customize the appearance and behavior of the checkout page. There are three available customization methods:

  • Hide specific modules: Use ExtensionTarget to hide predefined elements on the page.
  • Add custom content: Insert personalized content at designated ExtensionPoint locations.
  • Access and modify order information: Use the CheckoutAPI to retrieve order details and adjust checkout behaviors as needed.

Using Extension Points

Extension points allow you to insert custom content at specified locations on the checkout page.

Example: Adding Content Above the Navigation Bar

import { extend } from 'shoplazza-extension-ui';

extend({
  extensionPoint: 'Checkout::Navigate::RenderBefore',
  component: "<h1>Hello, Shoplazza!</h1>"
});

 

Available extension points include:

Extension PointDescription
Checkout::RenderBeforeBefore page header
Checkout::RenderAfterAfter page footer
Checkout::Head::RenderAfterAfter page header
Checkout::FilledInformation::RenderAfterAfter filled information card
Checkout::SpecialInstruction::RenderAfterAfter special instructions
Checkout::Summary::RenderBeforeBefore summary information
Checkout::Navigate::RenderBeforeBefore navigation bar
Checkout::Navigate::RenderAfterAfter navigation bar
Checkout::ContactInformation::RenderBeforeBefore contact information
Checkout::ContactInformation::RenderAfterAfter contact information
Checkout::ShippingLinesTitle::RenderBeforeBefore shipping list title
Checkout::ShippingLinesTitle::RenderAfterAfter shipping list title
Checkout::ShippingList::RenderAfterAfter shipping list
Checkout::ProductList::RenderBeforeBefore product list module
Checkout::ProductList::RenderAfterAfter product list module
Checkout::Reductions::RenderBeforeBefore coupons/gift cards
Checkout::Reductions::RenderAfterAfter coupons/gift cards
Checkout::SectionPayment::RenderBeforeBefore payment section
Checkout::SectionPayment::RenderAfterAfter payment section
Checkout::ThankyouHeader::RenderBeforeBefore thank-you page header
Checkout::ThankyouContent::RenderBeforeBefore thank-you page content area