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)”

Using Sitecore.MainUtil – Part 1

Sitecore has a relatively unknown helper class which contains lots of cool functions that are very useful for developers. In this article, I will list those functions that are present in Sitecore 10. Those functions will be later moved to StringUtil and FileUtil classes. Other utilities classes are: Sitecore.StringUtil Sitecore.IO.FileUtil Sitecore.DateUtil Sitecore.Web.HtmlUtil Sitecore.Web.WebUtil Sitecore.Xml.XmlUtil WorkingSetSizeContinue reading “Using Sitecore.MainUtil – Part 1”

La classe Sitecore.MainUtils – Partie 1

Sitecore a une classe d’assistance relativement inconnue qui contient de nombreuses fonctions intéressantes très utiles pour les développeurs. Dans cette série d’articles, je vais lister les fonctions présentes dans la classe Sitecore.Mainutils de Sitecore 10. Ces fonctions seront plus tard déplacées vers les classes StringUtil et FileUtil. Les autres classes d’assistance sont: Sitecore.StringUtil Sitecore.IO.FileUtil Sitecore.DateUtilContinue reading “La classe Sitecore.MainUtils – Partie 1”

Docker: Comment déboguer et choisir le bon tag.

Avec la sortie de Sitecore XP 10 cet été, Docker est désormais un très bon environnement pour développer et tester des projets sitecore. Il y a certainement beaucoup de documentation, mais je suis toujours un peu incertain sur la façon de déboguer un conteneur docker pendant qu’il se construit. Choisir le bon tag pour mesContinue reading “Docker: Comment déboguer et choisir le bon tag.”

Docker: Have The Right Tag and Debug Containers Easily

With the release of Sitecore XP 10 this summer, Docker is now a very good environment to develop and test sitecore projects. There are a lot of documentation around, but I was at time a little bit unsecure about how to debug a docker container while it builds. Hitting the right tag for my imagesContinue reading “Docker: Have The Right Tag and Debug Containers Easily”

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”