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,688
5 votes
Accepted

Associate category to product programatically

You also need to create a relation: await createRelationshipPipeline.Run(new RelationshipArgument(categoryId, sellableItemId, "CategoryToSellableItem") { Mode = new RelationshipMode?(...
Jonne Kats's user avatar
4 votes
Accepted

Get Related Products for SellableItem in custom plugin

Retrieve related products for 6042069 sellable item: var id = "relatedproduct-6042069"; var findResult = this._findEntitiesInListPipeline.Run(new FindEntitiesInListArgument(typeof(Sitecore.Commerce....
Andrei Paliakou's user avatar
3 votes
Accepted

Checkbox showing on Bizfx but not in Sitecore

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 ...
Andrei Paliakou's user avatar
3 votes
Accepted

Why can a commerce catalog not be shared between multiple websites

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 ...
Andrei Paliakou's user avatar
3 votes

Commerce Catalog Export & Import

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 ...
Rob Earlam's user avatar
3 votes
Accepted

Add category into a catalog programatically

I got this error because of Version parameter which I add it into Body call. { "Name": "Version", "Policies": [], "DisplayName": "Version", "Value": "...
Vlad Iobagiu's user avatar
  • 18.5k
2 votes
Accepted

Unable to Update Data Templates in Sitecore Commerce 9

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 "\...
Constantin N's user avatar
2 votes
Accepted

How can I add custom catalog attributes in Sitecore Experience commerce 9 and populate it with data from API?

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-...
Christian's user avatar
  • 311
2 votes
Accepted

GetCategoryCommand not working SXC 9.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}}...
Andrei Paliakou's user avatar
2 votes

SEO Friendly Commerce Page URLs

Sitecore Commerce uses own Commerce Link Manager for Commerce links. <add name="commerce" includeFriendlyName="true" useShopLinks="true" includeCatalog="false" addAspxExtension="false" ...
Andrei Paliakou's user avatar
2 votes
Accepted

How to rename a sellable item in Sitecore Commerce

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-...
Alessandro Faniuolo's user avatar
1 vote

Unable to create & update category while able to find existing category programmatically in Sitecore commerce

Try to use the below methods to create and update the category. You can modify the code accordingly to check the existing category. Find existing category - using Sitecore.Commerce.Plugin.Catalog; ...
Gaurav Agarwal's user avatar
1 vote
Accepted

Refresh commerce cache not creating all language versions

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....
Vignesh Chandrasekar's user avatar
1 vote

Import Performance issue on catalogs using minions on Sitecore Commerce 9.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....
Khushant Dhingra's user avatar
1 vote

What does "Invoice Unit Price" property on Inventory do?

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 ...
Andrei Paliakou's user avatar
1 vote

Sitecore Commerce 9.2 Sellable items and Catalogs not indexed

Turns out I had the wrong shared environments database value set in Plugin.SQL.PolicySet-1.0.0.json. Indexing is working fine once I set it to the right database.
Bevin's user avatar
  • 111
1 vote
Accepted

How can I automate the reconnect of a Sitecore XC catalog after initialize of Commerce Engine?

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:/...
Serge van den Oever's user avatar
1 vote

Custom Catalog not showing

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 ...
Dhelip Kumaar's user avatar
1 vote

How to pull data from sitecore commerce 9.2 Product variants

You have to create you custom CatalogItemRenderingModel class based on Sitecore.Commerce.XA.Feature.Catalog.Models.CatalogItemRenderingModel, Sitecore.Commerce.XA.Feature.Catalog and override ...
Andrei Paliakou's user avatar
1 vote
Accepted

Error when I click on some of the products

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.
Himanshu Agarwal's user avatar
1 vote
Accepted

Sitecore commerce storefront not showing catalog- [No catalog data available] and "Invalid catalog Id"

Figured out that somehow the catalog details was reset in configuration template. Steps : Open Commerce catalog configuration "/sitecore/content/Sitecore/Storefront/Settings/Commerce/Catalog ...
Rohit Kakde's user avatar
1 vote
Accepted

How to integrate an external API with Catalog in Sitecore Commerce 9.0.2

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 ...
Peter Procházka's user avatar
1 vote
Accepted

Commerce cart lines don't have reference to products

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 ...
Piotr Zaborowski's user avatar
1 vote

Commerce Server Catalog Manager - 8.2.1

I have faced the same issue it was resolved by adding my local windows account to the CatalogAdministrator and Administrator roles
Bharath C N's user avatar

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