Start a new topic
Answered

Migrating to 2.11 - Themes

Hi,


I am trying to migrate to the new version 2.11

I have studied the blog post, and the updated docs for platform and storefront.


I am very confused. What do I put in the storefront web.config ContentConnectionString? The cms content module says: 

provider=LocalStorage;rootPath=~\App_Data\cms-content


Should I make a windows share at this location, and reference that in the storefront? Or something like 

provider=LocalStorage;rootPath=http://localhost/admin/App_Data/cms-content


The admin site can see the theme fine, but the storefront only serve the default theme.


Is it supposed to be like this? Now it seems that the "default" is being served from the storefront, and my theme modifications is served from the platform side.


:Sigve


Best Answer

Storefront web.config should pointed to Platform App_Data/cms-content folder.

 

<add name="ContentConnectionString" connectionString="provider=LocalStorage;rootPath=c:\Projects\VirtoCommerce\vc-community\VirtoCommerce.Platform.Web\App_Data\cms-content" />

 

1 Comment

Answer

Storefront web.config should pointed to Platform App_Data/cms-content folder.

 

<add name="ContentConnectionString" connectionString="provider=LocalStorage;rootPath=c:\Projects\VirtoCommerce\vc-community\VirtoCommerce.Platform.Web\App_Data\cms-content" />

 

Login or Signup to post a comment