34 votes
Accepted

How to start development with Sitecore Commerce 9 / Sitecore Commerce 9 Learning Resources

1. Sitecore Commerce Documention Great resource is Sitecore official documentation which contains: Developer's Guide -> http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-...
19 votes
Accepted

How to avoid logging an error when aborting a pipeline

Add a magic "Ok|" string to the abort message, e.g: context.Abort("Ok|Abort pipeline", context); It turns out that the implementation of Abort checks for the magic "Ok|" string: public override ...
Joost's user avatar
  • 1,907
9 votes
Accepted

Is the 100 child item limit still a valid rule of thumb?

It's still a good rule of thumb, even if there was no technical reason for it then at least from a UX perspective. Having a large number of items makes it more difficult for authors to be able to find ...
jammykam's user avatar
  • 13.8k
8 votes
Accepted

Can I create "Other customers also bought..." recommendations using Sitecore xDB?

I think such functionality is absolutely an intended use case of xDB. From a high level, the approach would be: Create a custom facet for your customers which stores order history. Ensure that your ...
nickwesselman's user avatar
8 votes
Accepted

Is Sitecore Commerce 8.2.1 compatible with Sitecore 161221 (8.2 Update-2)?

It looks like it's not compatible. Please see details about modules compatibility here: https://kb.sitecore.net/articles/316437
Vlad Iobagiu's user avatar
  • 18.4k
8 votes
Accepted

How to refer to types declared in other plugins

The minion project lives inside of your Engine solution so you would not use a proxy. The proxy is mainly for projects which live outside of the Engine environment to communicate with the engine. You ...
ASura's user avatar
  • 2,363
8 votes
Accepted

SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed

It's not a normal behavior. If you look at the error message, you can see that problem is related to: System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) It meant that when any ...
Andrei Paliakou's user avatar
8 votes
Accepted

Does Sitecore XP 9.1 & Sitecore XC 9.0.2 use IdentityServer separately?

I will start with your second question Sitecore Commerce 9.1 is not compatible with 9.0.2 (https://kb.sitecore.net/articles/804595). XC compatible with 9.1 should be released after 1 month of XP ...
Vlad Iobagiu's user avatar
  • 18.4k
7 votes
Accepted

Error HRESULT E_FAIL has been returned from a call to a COM component when launching my Sitecore Commerce site

A hot fix for this issue was released: Download hotfix : unzip the file and follow above instructions: Backup the original binary "dsdb3.dll" located under the default install location c:\Program ...
Vlad Iobagiu's user avatar
  • 18.4k
7 votes
Accepted

"GetCurrentCart: Value cannot be null" when adding item to cart

Edit: Updated code to work around another issue I started investigating the avenue of missing plugins since that caused the previous issues I had, but the issue ended up being much simpler: the ...
Richard Szalay's user avatar
7 votes
Accepted

How to implement a Sitecore Commerce Minion

First of all you need to declare your minion on the environment definition for your minions environment. In the Sitecore.Commerce.Engine project is the JSON file PlugIn.Habitat.CommerceMinions-1.0.0....
Vlad Iobagiu's user avatar
  • 18.4k
7 votes

Products need USD price to be added to cart

OOTB Sitecore Commerce 9 uses USD currency as a default currency. If you want to use different currency you need to do: Navigate to your Home item and check Control Panel Configuration in Storefront ...
Andrei Paliakou's user avatar
7 votes
Accepted

Sitecore Commerce installation error in opening Microsoft.Web.XmlTransform.dll

You need to unblock that file as Windows thinks it is suspicious (as you have downloaded it from internet in "zip" file). Right click on the file and on General tab check "Unblock" on the bottom of ...
Peter Procházka's user avatar
7 votes
Accepted

What does the Refresh Commerce Cache button exactly?

I've decompiled the RefreshCacheCommand in the Sitecore.Commerce.Engine.Connect.dll assembly and apparently it clears the cache of the commerce data provider and then sitecore master and web databases:...
Jonne Kats's user avatar
7 votes

Product catalog's sellabe item - index in Sitecore_Web_Index

This is controlled by the Sitecore.Commerce.Core.IgnorePublishedPolicy, if the environment you're passing in your request contains this policy then both published & unpublished entities will be ...
Rob Earlam's user avatar
7 votes

msdeploy.exe : Error: .Net SqlClient Data Provider: Invalid object name 'Blobs'

I was facing same issue and found that it tries to update the Blobs and other tables in XP instance i.e. YourSitecoreXP_Master DB So if the Sitecore prefix in the deploy script is wrong it tries to ...
Sandeep Pote's user avatar
7 votes
Accepted

How to get Storefrontcontext in XC 10.1

Solution 1 : You can create a constructor and then find it from there as follows - public IStorefrontContext StorefrontContext { get; set; } public ISearchManager SearchManager { get; set; } public ...
Gaurav Agarwal's user avatar
6 votes
Accepted

How to add extra column to Order Entity in Sitecore Commerce 8.2.1

Sitecore Commerce 8.2.1 uses a sort-of NOSQL approach to data, so what you see in SQL Server is a JSON-serialized representation of your order. You can add extra information to an order by adding a ...
Erwin's user avatar
  • 334
6 votes

NuGet Package reference issue: Sitecore.Serilog.Framework.Logging

This is a known issue with restoring NuGet packages: https://github.com/dotnet/cli/issues/3199 Currently, there seem to be at least two ways to "fix" it (kind of) that work with varying success ...
Dmytro Shevchenko's user avatar
6 votes

Sitecore Commerce Connect Module License Missing on Fresh Install

There are 2 configs that start with Sitecore.Commerce.xxxx in the \App_Config\Include folder out of the box. If you aren't using the Commerce components, these can be safely disabled. The file names ...
BillCacy's user avatar
  • 383
6 votes
Accepted

How do I auto-start my Commerce Minions?

You need to reference your minion inside configure method (found in the Commerce.Engine project, Startup.cs): You will have something like: public void Configure( IApplicationBuilder app, ...
Vlad Iobagiu's user avatar
  • 18.4k
6 votes

Commerce Server Catalog Manager - 8.2.1

You should be able to import through the File - Import Product Catalog menu. This is a post I wrote on how to import the catalog xml file https://sitecorebrasil.wordpress.com/2017/05/18/sitecore-...
Diego's user avatar
  • 5,678
6 votes
Accepted

Basic understanding of the authoring.json file

The json files actually contain serialized .NET classes so what you see in the $type field is the namespace of a class, followed by the name of the assembly. When this information is deserialized, ...
Erwin's user avatar
  • 334
6 votes

Unable to create new users in Commerce

I had the same issue, but in my case we used Lucene. The "commerce_userprofiles_index_master" is used by the "Customer&Order Manager" which is typically only used on CM inside Sitecore client. ...
Andrei Paliakou's user avatar
6 votes
Accepted

How to solve Error: GetCurrentCart: TrackingNotEnabledException from Sitecore Commerce 9 SXA

This issue appear when json models for Commerce are not deployed on xConnect folder. I had same issue, because my json model it was copied to other folder not in my xconnect folder. If you have ...
Vlad Iobagiu's user avatar
  • 18.4k
6 votes

What certification is required

There is some information that you are missing, like, are you trying to setup as a Sitecore Partner or are you a Sitecore client? But here are some points: You do not need to be Sitecore certified ...
Richard Seal's user avatar
  • 20.4k
6 votes
Accepted

Uninstall Sitecore Commerce 9.1.0

Please Use the below script to uninstall sitecore commerce. Replace the parameters that match with your instance parameters. #define parameters Param( [string]$Prefix = 'SiteInstanceName', ...
Rajasekar's user avatar
  • 692
6 votes
Accepted

Does changing permissions to a certain role affect other roles?

Yes, it does. When you use Set-ItemAcl you overwrite all the security settings which were assigned to that previously. When you set new access rights for Role2 you removed everything what was set ...
Marek Musielak's user avatar
  • 23.6k
6 votes
Accepted

Certificate error during GenerateCatalogTemplates step of commerce installation

If you are receiving this error it means you either have the wrong certificate's thumbprint referenced in your configs (or the thumbprints are not all the same), or the user account of the IIS AppPool ...
Vipin Banka's user avatar
6 votes

Install module on CD Could not find configuration node: databases/database[@id='master']

SXA comes with a special package for the CD. If I recall correctly you simply unzip the package and dump out onto the server in the Sitecore web root. These instructions are documented in the ...
Michael West's user avatar
  • 18.1k

Only top scored, non community-wiki answers of a minimum length are eligible