{"id":23154993,"url":"https://github.com/epam/headless-commerce-salesforce-accelerator","last_synced_at":"2026-03-10T20:31:11.799Z","repository":{"id":120832568,"uuid":"272477086","full_name":"epam/headless-commerce-salesforce-accelerator","owner":"epam","description":"Headless Commerce Accelerator for Salesforce Commerce Cloud","archived":false,"fork":false,"pushed_at":"2023-03-14T17:58:46.000Z","size":7677,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-06T20:07:24.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-15T15:35:12.000Z","updated_at":"2023-04-27T20:53:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"93e9529c-110a-4237-8f35-9fa4dad31d80","html_url":"https://github.com/epam/headless-commerce-salesforce-accelerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epam/headless-commerce-salesforce-accelerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fheadless-commerce-salesforce-accelerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fheadless-commerce-salesforce-accelerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fheadless-commerce-salesforce-accelerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fheadless-commerce-salesforce-accelerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epam","download_url":"https://codeload.github.com/epam/headless-commerce-salesforce-accelerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epam%2Fheadless-commerce-salesforce-accelerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30352875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T20:15:09.607Z","updated_at":"2026-03-10T20:31:11.774Z","avatar_url":"https://github.com/epam.png","language":"JavaScript","funding_links":[],"categories":["Open Source"],"sub_categories":["Other"],"readme":"# Headless Commerce Accelerator for Salesforce Commerce Cloud #\n\n# General overview\nThis implementation consists of 3 parts and divided into three folders:\n•\tprocess_api – folder which contains app_storefront_custom cartridge which extends SFRA functionality to make possible communication between react application and Salesforce Commerce Cloud\n•\treact-app – contains code for frontend part of the application\n•\tstorefrontdata-master – metadata needed to extend existing initial SFRA metadata\n\n# NPM scripts\nUse the provided NPM scripts to compile and upload changes to your Sandbox.\n\n# Updating cartridge path\nTo integrate headless SFRA based on React.js you need to add app_storefront_custom to your target site cartridge path before base SFRA cartridges. In order to add cartridge to cartridge path: BM \u003e Administration \u003e Sites \u003e Manage Sites \u003e \u003cYOUR SITE\u003e - Settings \u003e Cartridges:\napp_storefront_custom:app_storefront_base:modules\n\n# Updating metadata\nIn order to adopt react application to SFRA you need to update metadata. Metadata are provided in a special folder: storefrontdata-master. In order to update metadata, go to: Administration \u003e Site Development \u003e Import \u0026 Export: upload system-objecttype-extensions.xml and import it\n\n# Catalog configuration\nYou need to configure categories: by enabling isPLP custom attribute on every category in site catalog where it is needed. It means that for categories where isPLP is disabled product grid won’t be shown.\nOptionally, you can adopt existing demo SFRA catalog you can import demo storefront catalog under storefront-catalog-m-en. In order to import demo configuration, go to: Merchant Tools \u003e Products and Catalogs \u003e Import \u0026 Export upload demo storefront catalog and import it\n\n# Connecting React application to SFCC\nIn order to connect react application to SFCC in your file system go to react-app/.env and specify base url of your storefront. Please look at example below:\nNODE_PATH=src/\nHTTPS=true\nREACT_APP_BASE_URL=https://zzrp-005.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.store/Sites-RefArch-Site/en_US\nYou need to configure api.js: react-app/src/services/config as example below:\nconst api = {\n  host: \"https://zzrp-005.sandbox.us01.dx.commercecloud.salesforce.com\",\n};\n\nexport default api;\n\n# Storefront URLs\nNew Rule-Based Storefront URLs should be disabled to avoid communication issues between react app and SFCC. In order to disable storefront URLs in BM go to: Merchant Tools \u003e Site Preferences \u003e Storefront URL and uncheck Enable Storefront URLs:\n\n# Run application\n1. Clone this repository.\n\n2. Use storefront referene architecture cartridge as a core (follow instructions provided in SFRA cartridge)\n\n3. Using terminal move to react_app folder : \u003e cd react_app\n\n4. Run `npm install` to install all of the local dependencies.\n\n5. upload app_storefront_custom cartridge to SFCC environment\n\n6. Run react application: \u003e npm start \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepam%2Fheadless-commerce-salesforce-accelerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepam%2Fheadless-commerce-salesforce-accelerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepam%2Fheadless-commerce-salesforce-accelerator/lists"}