{"id":27012016,"url":"https://github.com/salesforcecommercecloud/plugin_reorder_demo","last_synced_at":"2026-02-10T00:31:27.987Z","repository":{"id":146257916,"uuid":"547514098","full_name":"SalesforceCommerceCloud/plugin_reorder_demo","owner":"SalesforceCommerceCloud","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-17T21:55:45.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-29T21:05:54.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SalesforceCommerceCloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-07T20:16:58.000Z","updated_at":"2025-01-16T10:25:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b20d72f-365c-4f21-a869-cf94c1bb320b","html_url":"https://github.com/SalesforceCommerceCloud/plugin_reorder_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SalesforceCommerceCloud/plugin_reorder_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalesforceCommerceCloud%2Fplugin_reorder_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalesforceCommerceCloud%2Fplugin_reorder_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalesforceCommerceCloud%2Fplugin_reorder_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalesforceCommerceCloud%2Fplugin_reorder_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SalesforceCommerceCloud","download_url":"https://codeload.github.com/SalesforceCommerceCloud/plugin_reorder_demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SalesforceCommerceCloud%2Fplugin_reorder_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29287365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2025-04-04T11:47:32.559Z","updated_at":"2026-02-10T00:31:27.982Z","avatar_url":"https://github.com/SalesforceCommerceCloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin\\_reorder\\_demo: Storefront Reference Architecture (SFRA)\n\nThis is the repository for the plugin\\_reorder\\_demo plugin. This plugin enhances the plugin\\_commercepayments cartridge by providing re-order functionality, including the following capabilities:\n\n* Registered shoppers can re-order previously placed orders from their accounts\n\nThis plugin depends on the plugin\\_commercepayments cartridge.\n\n# Cartridge Path Considerations\nThe plugin\\_reorder\\_demo plugin requires the plugin\\_commercepayments cartridge and the app\\_storefront\\_base cartridge. In your cartridge path, include the cartridges in the following order:\n\n```\nplugin_reorder_demo:plugin_commercepayments:app_storefront_base\n```\n\n# Getting Started\n\n1. Clone this repository. (The name of the top-level folder is plugin\\_reorder\\_demo.)\n2. In the top-level plugin\\_reorder\\_demo folder, enter the following command: `npm install`. (This command installs all of the package dependencies required for this plugin.)\n3. In the top-level plugin\\_reorder\\_demo folder, edit the paths.base property in the package.json file. This property should contain a relative path to the local directory containing the Storefront Reference Architecture repository. For example:\n```\n\"paths\": {\n    \"base\": \"../storefront-reference-architecture/cartridges/app_storefront_base/\"\n  }\n```\n4. In the top-level plugin\\_reorder\\_demo folder, enter the following command: `npm run compile:js \u0026\u0026 npm run compile:scss`\n5. In the top-level plugin\\_reorder\\_demo folder, enter the following command: `npm run uploadCartridge`\n\n# NPM Scripts\n\n* Use the provided NPM scripts to compile and upload changes to your Sandbox.\n\n## Compile Client-Side Code and SCSS\n\n* npm run compile:scss - Compiles all scss files into css.\n\n* npm run compile:js - Compiles all js files and aggregates them.\n\n## Lint Your Code\n\n* npm run lint - Execute linting for all JavaScript and SCSS files in the project. You should run this command before committing your code.\n\n## Watch for Changes and Uploading\n\n* npm run watch:static - Watches js and scss files for changes, recompiles them and uploads result to the sandbox. Requires a valid dw.json file at the root that is configured for the sandbox to upload.\n\n* npm run watch:cartridge - Watches all cartridge files (except for static content) and uploads it to sandbox. Requires a valid dw.json file at the root that is configured for the sandbox to upload.\n\n* npm run watch - Watches everything and recompiles (if necessary) and uploads to the sandbox. Requires a valid dw.json file at the root that is configured for the sandbox to upload.\n\n**Note:** This command locates the URL of your sandbox by reading the `dw.json` file in the root directory of your project. If you don't have this file at the expected location, the integration tests will fail.\n{\n    \"hostname\": \"devxx-sitegenesis-dw.demandware.net\"\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecommercecloud%2Fplugin_reorder_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalesforcecommercecloud%2Fplugin_reorder_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecommercecloud%2Fplugin_reorder_demo/lists"}