Skip to content

moayyaed/Ucommerce.Sitecore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ucommerce Sitecore Integration

Community Developed and maintained integration between Sitecore and Ucommerce

Be a part of developing the awesome Ucommerce integration with Sitecore. We accept pull requests.

Supported versions of Sitecore

This repository supports version of SC 8.2 and above.

Building the package for testing

After downloading the repo, building the installation package is really easy. Just follow these few simple steps below:

  1. Copy the Sitecore assemblies required for the project to compile from your website's bin folder, and place them under a lib/Sitecore folder in the solution folder.
    • Sitecore.Analytics.dll
    • Sitecore.Analytics.Model.dll
    • Sitecore.Buckets.dll
    • Sitecore.ContentSearch.dll
    • Sitecore.Kernel.dll
    • Sitecore.Logging.dll
    • Sitecore.Services.Core.dll
    • Sitecore.Services.Infrastructure.dll
  2. Open a Powershell tool.
  3. Navigate the path to the root of the repository. Further navigate to "\tools\deploy"
  4. Execute the Powershell command: ".\Deploy.To.Package.ps1" The package will be generated under "c:\tmp"
  5. Install the package through the Sitecore package installer.

Deploying local changes for debug

Once the package is installed you can debug the integration by building the VS solution and then attaching a debugger. There's a powershell script that runs after building the solution. To build to the right location, find the file called "Deploy.To.Local.ps1". It can be found under the deploy folder in the visual studio solution.

Modify the first line in the file, where there is a variable called $website_root

$website_root = "C:\inetpub\sc8\Website"

The value needs to match the website root of your Sitecore instance where Ucommerce is installed.

Troubleshooting

  • If the projects don't compile after adding the Sitecore assemblies as references, please make sure that the "Target framework" is set to at least the version that the Sitecore assemblies have been compiled against. If this is the issue, you will get a warning in Visual Studio regarding a mismatch of framework versions.

Commerce Connect

Per default the Ucommerce.CommerceConnect project is not loaded. If you want to build a version for Sitecore 8 with Commerce Connect, simply include the project and run the commands above. Then it will automatically be included in the package.

Then follow the steps from this article to set up Commerce Connect.

Who do I talk to?

We'd love to hear from you. If you have any trouble, want to contribute, or similar, please reach out to: support@ucommerce.net

About

Ucommerce for Sitecore integration layer connects e-commerce platform Ucommerce with content management system Sitecore to enable commerce+content scenarios.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 62.7%
  • CSS 26.1%
  • PowerShell 10.8%
  • Classic ASP 0.3%
  • TSQL 0.1%
  • Batchfile 0.0%