Not all countries have State Provinces !

While upgrading a Sitecore 10.0 Commerce solution to the new Sitecore 10.2 version, we found out that Sitecore has written a US-centred piece of code, during the validation of the user of a new shopping cart. So if you live outside the US and have this error message when creating a new shopping cart inContinue reading “Not all countries have State Provinces !”

Use Thunder Client (VS Code) instead of Postman !

For years I have been using Postman in order to get information about my XC environments and data. And for years I have been tired of this memory-hungry elephant where I just needed a simple REST client. It looks like that, unlike U2, I have now found what I’m looking for 🙂 The solution isContinue reading “Use Thunder Client (VS Code) instead of Postman !”

Create Sitecore Commerce items with a script – Part 4 (Sellable Items)

In the previous articles of this serie, we have seen how to script the creation of Catalog and Category items in XC. Now we are taking a step further in the complexity and we’ll create a Sellable Item, with some properties. A SellableItem may have its own properties. You can use Composer Templates or EntityContinue reading “Create Sitecore Commerce items with a script – Part 4 (Sellable Items)”

Create Sitecore Commerce items with a script – Part 3 (Category)

In the previous articles of this serie, I have shown you how to create some utility scripts and how to create a new catalog in your XC database. We’ll create now some categories under our new catalog. Let’s open Business Tools, create two categories and see what request and payload are sent from our clientContinue reading “Create Sitecore Commerce items with a script – Part 3 (Category)”

Create Sitecore Commerce items with a script – Part 2 (Catalog)

In the last article, we created the utility functions to get the authorization token and to build the request headers. Now let the fun begin and let’s create some items. In a new Sitecore Commerce repository, we’ll need a Catalog to begin with. We can check in the Postman API collection if there is aContinue reading “Create Sitecore Commerce items with a script – Part 2 (Catalog)”

Create Sitecore Commerce items with a script – Part 1 (Utils)

Importing and exporting single Sitecore Commerce items is not easy, there is no OOTB serialization of single items as we have for Sitecore CMS items. This is because Sitecore XC items are virtual items which are shown in Content Editor using Commerce Engine Connect Catalog Provider. The provider is defined in Sitecore.Commerce.Engine.DataProvider.config There is aContinue reading “Create Sitecore Commerce items with a script – Part 1 (Utils)”

JSS et Sitecore Commerce 10

Dans une très bonne série d’articles l’année dernière, Jonne Kats et Joost Meijles ont décrit et développé un petit projet pour montrer comment créer une application JSS connectée à Sitecore Commerce 9. Malheureusement, lorsque j’ai essayé d’installer ce projet avec Sitecore 10, j’ai réalisé que de nombreux changements étaient nécessaires pour obtenir le même résultat.Continue reading “JSS et Sitecore Commerce 10”

Comment installer Sitecore Storefront 10 avec Docker

Spoiler: C’était pas facile ! A partir de la version 9 de Sitecore, il a été possible d’installer Sitecore XP et XC sur Docker. L’installation n’était pas simple et nécessitait beaucoup de patience et une très bonne compréhension du fonctionnement de Docker et de la manière dont les différentes parties de Sitecore interagissent les unesContinue reading “Comment installer Sitecore Storefront 10 avec Docker”

JSS and Sitecore Commerce 10

In a very good serie of articles last year, Jonne Kats and Joost Meijles described and developped a small project to show how to create a JSS application on top of Sitecore Commerce 9. Unfortunately, when I tried to install this project on top of Sitecore 10, I realised that a lot of changes wereContinue reading “JSS and Sitecore Commerce 10”

Install Sitecore Storefront 10 XC1-CXA on Docker

Spoiler: this was not easy ! From Sitecore version 9, it has been possible to install Sitecore XP and XC on Docker. The installation was not straightforward and needed a lot of patience and a really good comprehension of how Docker works and how Sitecore parts interact with one another. When Sitecore 10 was releasedContinue reading “Install Sitecore Storefront 10 XC1-CXA on Docker”