---
schema_version: "1"
id: 9a52999d0117facd889bb6e30f05445683fb557984d39a0b37d2b3209c9384f5
title: SiteGenesis Templates Modifications for Salesforce Payments
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_sitegenesis_template_modifications.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_sitegenesis_template_modifications.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7277b9a7e0f40137d8652045151e168cc73bf918fc7fd129d8796a731d37e6e5
description: B2C Commerce uses Internet Store Markup Language (ISML) templates to generate dynamic storefront pages. An ISML template consists of standard HTML markup, ISML tags, and script expressions.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# SiteGenesis Templates Modifications for Salesforce Payments

B2C Commerce uses Internet Store Markup Language (ISML) templates to generate dynamic storefront pages. An ISML template consists of standard HTML markup, ISML tags, and script expressions.

- `components/footer/footer_UI.isml`
    - To load payments.js client side JS, add <script> tag
    - Loading scripts at the end of the page without defer like this is no longer best practice, but this is how and where app.js loads
- `product/productcontent.isml`
    - Include plug-in\_commercepayments template that renders Buy Now express checkout buttons
- `checkout/cart/minicart.isml`
    - Include plug-in\_commercepayments template that renders Pay Now express checkout buttons
- `checkout/cart/cart.isml`
    - Include plug-in\_commercepayments template that renders Pay Now express checkout buttons
- `checkout/billing/minibillinginfo.isml`
    - Remove payment information card and Edit link from the checkout pages right-hand column
- `checkout/billing/billing.isml`
    - Remove payment methods from the billing step (checkout page two)
- `checkout/summary/summary.isml`
    - Include payment methods section with multi-step checkout on the review step (checkout page three)
    - Adjust the Place Order button to no longer submit a form and instead call platform injected JS to confirm payment
- `util/modules.isml`
    - To define a reusable “component” to show payment type like Credit Card or PayPal and supporting details like last 4 digits or PayPal email, add new <isminipayment> ISML module
- New `minipayment.isml` template
    - <isminipayment> implementation
- `components/order/orderdetails.isml`
    - Adjust to use <isminipayment> module instead of <isminicreditcard> module
    - This presents payment information on the order confirmation page
- `components/order/orderdetailsemail.isml`
    - Adjust to use <isminipayment> module instead of <isminicreditcard> module
    - This presents payment information on the order confirmation email, similar but not the same as the page