Perfect! Everything is up and running, but what if now you follow the standard procedure of "security hardening" for a CD server?
One of the usual steps is to remove any link to the master database. You do it, and nothing happens. Sometimes uCommerce must read items directly from the Sitecore tables and by default it reads it from the master database. One example is the confirmation emails; uCommerce will fail with the error: Could not find configuration node: databases/database[@id='master']
You can control the particular database uCommerce reads the items from by changing the property "nameofcontentdatabase" of the component "SitecoreContext". By default, this configuration is stored in the configuration file shell.config. However, uCommerce recommends to apply those changes in the custom.config file instead of modifying any uCommerce file directly.
How to install uCommerce? Simple:
- Copy the following code into custom.config
- Restart your application