From 7876a7a862cda9302a06c27b550d6b2fee08c4a2 Mon Sep 17 00:00:00 2001 From: Per A Date: Fri, 26 Jul 2024 10:38:19 +0200 Subject: [PATCH 1/3] Update ui-config-files.md If you are hosting your site in Umbraco Cloud and using Visual Studio then you will have to make sure that the file/files (or parent folder of the files) you include will be configured in certain way in the .Web project configuration file. This is to ensure that the Umbraco Cloud site will be able to use the file/files. --- .../key-concepts/ui-config-files.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/13/umbraco-commerce/key-concepts/ui-config-files.md b/13/umbraco-commerce/key-concepts/ui-config-files.md index 8cb83907ae5..c3b88135165 100644 --- a/13/umbraco-commerce/key-concepts/ui-config-files.md +++ b/13/umbraco-commerce/key-concepts/ui-config-files.md @@ -25,6 +25,24 @@ If there are no cart config files defined, then Umbraco Commerce will fall back To assign a UI config file to a Store, this is done by file name convention. This is where configs are looked for in `App_Plugins/UmbracoCommerce/config` with the following file name format `{storeAlias}.{entityType}.{viewType}.config.json`. If no store-specific file is found, it will fallback into the default `{entityType}.{viewType}.config.json`. +{% hint style="info" %} +If you are hosting your site in Umbraco Cloud and using Visual Studio then it might benefit you to to add something like this to the .Web project config before pushing your commit to the Umbraco Cloud repository. +``` + + + +``` +That way your specific config.json file can be used by the Umbraco Cloud site. + +A second option is to always copy all files under the App_Plugins folder. +``` + + + +``` +And a third option is to always copy a specific subfolder of the App_Plugins folder and all files under it. +{% endhint %} + ## Cart/Order List Config Files With these configuration files, you can customize the columns displayed in the Cart/Order list view. From 813db833f52d87cb730bad768e442a610fb8b38a Mon Sep 17 00:00:00 2001 From: Per A Date: Fri, 26 Jul 2024 10:55:13 +0200 Subject: [PATCH 2/3] Update ui-config-files.md Making the sentence shorter. --- 13/umbraco-commerce/key-concepts/ui-config-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-commerce/key-concepts/ui-config-files.md b/13/umbraco-commerce/key-concepts/ui-config-files.md index c3b88135165..1b43117fcb2 100644 --- a/13/umbraco-commerce/key-concepts/ui-config-files.md +++ b/13/umbraco-commerce/key-concepts/ui-config-files.md @@ -26,7 +26,7 @@ If there are no cart config files defined, then Umbraco Commerce will fall back To assign a UI config file to a Store, this is done by file name convention. This is where configs are looked for in `App_Plugins/UmbracoCommerce/config` with the following file name format `{storeAlias}.{entityType}.{viewType}.config.json`. If no store-specific file is found, it will fallback into the default `{entityType}.{viewType}.config.json`. {% hint style="info" %} -If you are hosting your site in Umbraco Cloud and using Visual Studio then it might benefit you to to add something like this to the .Web project config before pushing your commit to the Umbraco Cloud repository. +If you are hosting your site in Umbraco Cloud and using Visual Studio. Then it might benefit you to to add something like this to the .Web project config before pushing your commit to the Umbraco Cloud repository. ``` From fb6a3ac0ed3e04110f6bcc9ca68b3188c709f778 Mon Sep 17 00:00:00 2001 From: Per A Date: Mon, 29 Jul 2024 16:06:54 +0200 Subject: [PATCH 3/3] Update ui-config-files.md Update thanks to the feedback from @mattbrailsford --- .../key-concepts/ui-config-files.md | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/13/umbraco-commerce/key-concepts/ui-config-files.md b/13/umbraco-commerce/key-concepts/ui-config-files.md index 1b43117fcb2..4df6332f071 100644 --- a/13/umbraco-commerce/key-concepts/ui-config-files.md +++ b/13/umbraco-commerce/key-concepts/ui-config-files.md @@ -23,25 +23,7 @@ If there are no cart config files defined, then Umbraco Commerce will fall back ## Assigning a UI Config File to a Store -To assign a UI config file to a Store, this is done by file name convention. This is where configs are looked for in `App_Plugins/UmbracoCommerce/config` with the following file name format `{storeAlias}.{entityType}.{viewType}.config.json`. If no store-specific file is found, it will fallback into the default `{entityType}.{viewType}.config.json`. - -{% hint style="info" %} -If you are hosting your site in Umbraco Cloud and using Visual Studio. Then it might benefit you to to add something like this to the .Web project config before pushing your commit to the Umbraco Cloud repository. -``` - - - -``` -That way your specific config.json file can be used by the Umbraco Cloud site. - -A second option is to always copy all files under the App_Plugins folder. -``` - - - -``` -And a third option is to always copy a specific subfolder of the App_Plugins folder and all files under it. -{% endhint %} +To assign a UI config file to a Store, this is done by file name convention. This is where configs are looked for in `wwwroot/App_Plugins/UmbracoCommerce/config` with the following file name format `{storeAlias}.{entityType}.{viewType}.config.json`. If no store-specific file is found, it will fallback into the default `{entityType}.{viewType}.config.json`. ## Cart/Order List Config Files