RVW Developers Core - SFCC Cartridge
A Salesforce Commerce Cloud (Demandware) Cartridge for Developers.
Features
- Execute Server Side JavaScript on your Sandbox in your favorite browser
- No Site Preferences or Misc Imports Required, just drop in and go
- Safety Measures to prevent running in Production Environments
Installation
- Download Latest Release
- Unzip and Rename the folder to
rvw_developers_core
- Move
rvw_developers_core
into the root of your SFCC Project - Add
rvw_developers_core
to project or global.gitignore
- Add
rvw_dev_console
to Business Manager StorefrontCartridges
Path
Once installed, you can access the Dev Console on your sandbox at /on/demandware.store/YOUR_SITE_ID/default/Console-Show
( change YOUR_SITE_ID
to your Site ID, e.g. Sites-Site
).
TROUBLESHOOTING: Getting an error loading the console? You may need to temporarily switch Code Versions, then switch back to trigger the update in Business Manager.
Sandbox Security
Our
rvw_dev_console
cartridge will allow anyone with access to your sandbox to be able to run code.
If you wish to lock down your sandbox, SFCC already provides a solution to protect it.
- Head over to
Administration > Sites > Manage Sites
- Select your Site Name under
Storefront Sites
- Click the
Site Status
tab - Set
Select the Site Status
toOnline (Protected)
- Enter a
Password
and clickApply
Once this is set up, anytime you login to your storefront from a new browser, you will need to enter the username storefront
and the password you just created. Your login info will be saved as long as you do not clear your browser's cookies. The Chrome plugin Demandware with Ease provides the ability to automatically login with a Storefront Password.
Contributing
Interested in making this tool better? Fork this Repository and we'll gladly accept Pull Requests.
Developer Setup:
git clone https://github.com/redvanworkshop/rvw_developers_core.git
cd rvw_developers_core
npm install
npm run dev # one time build for development
npm run watch # watch for changes and build for development
npm run build # one time build for production
Once you have something you would like to share, check out our Contribution Guide.
Disclaimer
The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. Red Van Workshop is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the Red Van Workshop products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and Red Van Workshop.