Get the SFRA Repositories from GitHub

You must have access to the Salesforce CommerceCloud repositories on GitHub. You can then either download a copy of the SFRA repositories or clone the repositories on your local system. If you clone the repositories, you can issue git commands to perform tasks like getting the latest updates or seeing recent changes.

  1. If you don’t have a GitHub account, see Salesforce Commerce Cloud GitHub Repositories and Access .
  2. Search for the following repositories, and click Clone or download to copy each repository to your local system.
    CAUTION:
    Clone or download the repositories next to each other, as siblings, as in the following example. If you nest the repositories, you can’t use the build tools.
    your project
    β”œβ”€β”€ eslint-plugin-sitegenesis
    β”œβ”€β”€ lib_productlist
    β”œβ”€β”€ plugin-applepay
    β”œβ”€β”€ plugin_commercepayments
    β”œβ”€β”€ plugin_datadownload
    β”œβ”€β”€ plugin_giftregistry
    β”œβ”€β”€ plugin_instorepickup
    β”œβ”€β”€ plugin_productcompare
    β”œβ”€β”€ plugin_sitemap
    β”œβ”€β”€ plugin_wishlists
    β”œβ”€β”€ sfra-jsdoc
    β”œβ”€β”€ sgmf-scripts
    β”œβ”€β”€ storefront-reference-architecture
        β”œβ”€β”€ cartridges
        β”‚   β”œβ”€β”€ app_storefront_base
        β”‚   └── modules
    └── storefrontdata
    β”œβ”€β”€ app_custom_domain_mysite1
    β”œβ”€β”€ app_custom_domain_mysite2
    
    Note: For the Stripe's terms of service with the SEPA payment option, you must replace [the seller] with the the appropriate name in the sepa_debit.message.mandate key name entry in plugin_commercepayments/cartridges/plugin_commercepayments/cartridge/templates/resources/salesforcepayments.properties.

    See SDD Core Mandate Translations for details on the SEPA Direct Debit (SDD) payment mandate.

    Note: The plugin_commercepayments cartridge doesn't support payments that use the plugin-applepay or plugin_instorepickup cartridges. If you're applying additional cartridges to the storefront, you must disable the plugin-applepay and plugin_instorepickup in the site preferences and in the cartridge path.

    Internet Explorer isn't a supported browser for Commerce Payments.

  3. If you downloaded the repositories, expand the .zip files.
    Note: On macOS, you can use the command-line unzip utility to expand the files.