6

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-commerce-adventure-works-catalog-did-not-get-imported-how-to-do-that-manually/ Also I remember I had an issue with permissions on the CSServices site on IIS when ...


5

You also need to create a relation: await createRelationshipPipeline.Run(new RelationshipArgument(categoryId, sellableItemId, "CategoryToSellableItem") { Mode = new RelationshipMode?(RelationshipMode.Create) }, context); Where createRelationshipPipeline is a ICreateRelationshipPipeline


4

Retrieve related products for 6042069 sellable item: var id = "relatedproduct-6042069"; var findResult = this._findEntitiesInListPipeline.Run(new FindEntitiesInListArgument(typeof(Sitecore.Commerce.Plugin.Catalog.SellableItem), id, 0, 100), context.ContextOptions).Result; var result = findResult.List.Items; Where _findEntitiesInListPipeline is ...


3

You have to change property type from bool? to bool: public bool PropertyDetailsInOffer { get; set; } bool values will be rendered as checkboxes for supported UI Hints, otherwise rendering as a string value.


3

Multiple sites cannot share the same catalog in Sitecore as the catalog will only be indexed in one location and the other sites will not recognize catalog content outside their own site area. You can use a Postman script to clone an existing catalog if you want the same products on multiple storefronts. https://doc.sitecore.com/users/91/sitecore-experience-...


3

Using the Postman scripts in XC9.0.2, you have a mode parameter that is used to control how the import is processed. The two modes you can use are Replace and Add. This parameter is used in the ImportCatalogsPrepareBlock. Replace: Causes the block to first execute the IRemoveAllCatalogItemsPipeline, before importing your catalog data. Add: Imports your ...


3

I got this error because of Version parameter which I add it into Body call. { "Name": "Version", "Policies": [], "DisplayName": "Version", "Value": "2", "IsHidden": true, "OriginalType": "System.Int32", "IsReadOnly": true, "UiType": "", "IsRequired":...


2

Fixed! Corrected the certificate thumbprint in this two config files: Sitecore.Commerce.Endine.Connect.config from "habitathome.dev.local\App_Config\Include\Y.Commerce.Engine" config.json from "\CommerceAuthoring_Sc9\wwwroot


2

Have a look at this article for extending commerce entities (products, catalogs categories users etc.)with custom properties https://hachweb.wordpress.com/2018/07/15/sitecore-xc-9-0-2-walk-through-extending-product-definitions-with-custom-fields/ And this one for getting axcess to them within the engine https://hachweb.wordpress.com/2018/08/01/sitecore-xc-...


2

It usually happens when you call your custom api from postman and forget to add some required headers: Content-Type:application/json ShopName:{{ShopName}} ShopperId:{{ShopperId}} Language:{{Language}} Currency:{{Currency}} Environment:{{Environment}} GeoLocation:{{GeoLocation}} CustomerId:{{CustomerId}} Authorization:{{SitecoreIdToken}} If Environment ...


2

Sitecore Commerce uses own Commerce Link Manager for Commerce links. <add name="commerce" includeFriendlyName="true" useShopLinks="true" includeCatalog="false" addAspxExtension="false" alwaysIncludeServerUrl="false" encodeNames="true" languageEmbedding="never" languageLocation="filePath" lowercaseUrls="false" shortenUrls="true" useDisplayName="false" ...


2

A sellable item in Sitecore Commerce is an entity stored in the CatalogEntities table in the SharedEnvironments database. The name of the sellable item is the Id of the entity (ie. Entity-SellableItem-XXXXXX). The Id is a primary key on the CatalogEntities table and I believe it is protected for this reason. For a normal Sitecore item, the ID of an item and ...


1

Please check the DefaultShopName on Sitecore.Commerce.Engine.Connect.config. If your site is not a multisite (Only 1 Catalog & 1 Shop), you can set the default ShopName as your Storefront ShopName. Catalog Items crawler will pick the associated Language Set of the storefront and index all the items with configured language(s). But this will not work for ...


1

I am working on a project where we have around 15k products. Earlier I was also facing performance issue in import process. I found the performance issue was due to using same context in every command. So I had revised the code to use a new context every time and disposing it after. For ex. below one is the common function which I am using to create a new ...


1

Documentation says: Optionally, you can change the default Invoice Price Currency value, and enter the Invoice Unit Price, Invoice Price Currency, and whether the item is available for preorders or backorders, the dates it is available, and the limits for preorders and backorders. Also there is a note: Preorder and backorder functionality is not fully ...


1

The following PowerShell script can be made available as a Web API endpoint within Sitecore. Instructions on how to do this are documented in the script: # Reconnect Sitecore Commerce catalog # https://www.sergevandenoever.nl, https://www.linkedin.com/in/sergevandenoever/ # # Execute the manual steps to correctly reconnect a catelog when a Sitecore XC ...


1

Yes. Even if your Bootstrap/Clean Environment/Initialize environment through Postman API you might get into this error "Catalog name <_catalog_name> already in use" sometimes. Try flushing your Redis cache with help of "RedisDesktopManager" tool. It might solve your issue.


1

You have to create you custom CatalogItemRenderingModel class based on Sitecore.Commerce.XA.Feature.Catalog.Models.CatalogItemRenderingModel, Sitecore.Commerce.XA.Feature.Catalog and override SetImages() method with your custom logic: protected virtual void SetImages() { if (this.Images != null) return; this.Images = (ICollection<...


1

The issue was related to a custom template which had to be inherited in the product template. After inheriting the template I rebuilt indexes and it worked fine.


1

Figured out that somehow the catalog details was reset in configuration template. Steps : Open Commerce catalog configuration "/sitecore/content/Sitecore/Storefront/Settings/Commerce/Catalog Configuration" For default instance set value of catalog to Catalog : sitecore/content/Sitecore/Storefront/Home/Catalogs/Habitat_Master For 'Start Navigation ...


1

I would see three approaches that you can use: Dynamically calling external API when there is need to have information about product like price, name and other details. Categories will be stored in Commerce as usual. Products will be taken from external API based on category id. When somebody hits the "Add to cart" button or "+-" quantity buttons you would ...


1

The fix for this is problem is described in this post: https://sitecore.stackexchange.com/a/10592/3754 Basically, the Commerce Engine developed from SDK sample and stripped of the plugin samples is missing some pipelines, that are responsible for filling out the entities. using Microsoft.Extensions.DependencyInjection; using Sitecore.Framework.Pipelines....


1

I have faced the same issue it was resolved by adding my local windows account to the CatalogAdministrator and Administrator roles


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