Questions tagged [commerce-engine]

The Commerce Engine is a thin ASP.NET Core application that serves as a host for a group of microservices that enable commerce functionality. All questions related to engine configuration and implementation should use this tag.

Filter by
Sorted by
Tagged with
1 vote
2 answers
22 views

Sitecore Commerce Installation Error at GetIdServerToken

I am installing sitecore commerce in development environment, encountered some errors prior to this error, all those are fixed, now i am getting this error. seems some issue with the Identity Server. ...
user avatar
  • 11
0 votes
0 answers
65 views

Deploy solution in sitecore commerce 10

I am working with Sitecore commerce 10, I have added PayPal payment gateway and some custom fields for sellable items in customer.sample.solution. Now I need to deploy this solution to my Sitecore ...
user avatar
  • 97
0 votes
1 answer
61 views

Sitecore Commerce extend sellable items

I want to show a long description on my product detail page which will contains some html within it i.e. it should be entered via rich text editor and its up to author to add bullet points, long text ,...
user avatar
0 votes
0 answers
41 views

Unable to change the commerce field name in Solr results

Using XP 10.1 & XC 10.1 in my local machine. I've created a new template (Vehicle) with a field (StoreID) using the composer. In this file, added the following policy: C:\inetpub\wwwroot\...
user avatar
  • 2,573
0 votes
1 answer
165 views

Sitecore Commerce Engine 403 forbidden error

I am trying to debug a method from postman but I am getting this error CommerceController.OnActionExecuting.Forbidden: User not allowed for action /extops/Synchronize I am connected with the Sitecore/...
user avatar
1 vote
1 answer
82 views

Checkbox showing on Bizfx but not in Sitecore

I am able to see Checkbox on Bizfx but when I do the Update Data Templates in Sitecore then its showing Single-Line Text rather than a Checkbox This is the code to add a property. I have declared it ...
user avatar
1 vote
1 answer
61 views

Sitecore Commerce 10.1 - Sitecore.Commerce.Engine in Customer.Sample.Solution does not run

I have installed Sitecore 10.1 & Sitecore Commerce 10.1 in my local machine and trying to run the example Customer.Sample.Solution. The solution builds without any errors. The following changes ...
user avatar
  • 2,573
0 votes
0 answers
105 views

Unable to add cartLine - Error "is not purchasable" & "No productArgument in Context"

When Trying to add a sellable item to a cart I get a "item is not purchasable" error, despite the sellable item existing and have a price card with the default currency along with being ...
user avatar
1 vote
1 answer
95 views

How can I extend products with a custom property in Storefront

How can I access a custom policy that I add in a Commerce Engine pipeline block in the Storefront, and extend Sitecore.Commerce.XA.Foundation.Catalog.Models.ProductSummaryViewModel with fields from ...
user avatar
2 votes
1 answer
64 views

Get location and user specific prices

We need to get location and user-specific prices in the SXA Storefront. These prices should also be available when calling the Commerce Engine directly for headless scenarios. We add XDB facets to the ...
user avatar
0 votes
1 answer
39 views

Issue Associating a PriceBook to a Catalog

I'm creating a price book programatically calling the IAddPriceBookPipeline. I see as a result of that call that the book is created. Next of I'm trying to associate the same Book with a Catalog. I do ...
user avatar
  • 5,636
0 votes
2 answers
312 views

ERROR GetCatalogItems the underlying connection was closed

i am using sitecore 9.0.2 Commerce, On Application startup, i am getting Below ERROR on the log file. 604 17:29:16 INFO Commerce.Connector - Acquiring mapping lock 9604 17:29:16 INFO Commerce....
user avatar
  • 153
0 votes
2 answers
108 views

How to change the Sitecore commerce authoring url for sitecore 9.3?

When I had installed the commerce in my development environment then the commerce authoring URL is set as https://commerceauthoring.sc930.local so my request goes to this URL when I click on the ...
user avatar
2 votes
2 answers
222 views

Unable to run the Sitecore Commerce Engine and plugins from visual studio

I am using sitecore XC 9.2 and trying to run the commerce engine project from Visual Studio following the process mentioned here: https://medium.com/@siddharaju.s/debugging-sitecore-commerce-engine-...
user avatar
2 votes
1 answer
77 views

Automated index document merge complains about invalid index name but index names are valid

I get thousands of the following error in the minions log: 00007 09:21:07 ERROR AzureContextCommand.MergeOrUploadDocuments.Error: Message=Index name must only contain lowercase letters, digits or ...
user avatar
  • 23
0 votes
1 answer
74 views

unable to bootstrap commerce engine after json config changes

I am trying to initialize the bootstrap for commerce engine after a change made on payment plugin json file. i am calling the bootstrap method in the postman (screen shot attached) with the input ...
user avatar
2 votes
2 answers
395 views

Engine ProxyService shopcontainer threw an exception of type 'System.MissingMethodException'

Software used-> Sitecore Commerce version 9.2, VS2019 We are using Unchase OData Connection service to generate/update service proxy in VS2019. Official OData provider for VS2017 (OData v4 Client ...
user avatar
0 votes
0 answers
271 views

CPU spikes to 100%

Often getting the below error from my log files. Every time this error occurs the CPU spikes from 93% to 100%. Searched for the fixes and workaround but couldn't find any solution. After recycling ...
user avatar
1 vote
1 answer
56 views

Get information about parent categories

Short information about my environment: Sitecore 8.2.1 Sitecore Commerce 8.2.0 (Initial Release) Hi! I need to implement a custom condition for promotions. I need to get information regarding the ...
user avatar
  • 209
1 vote
1 answer
70 views

Sitecore Commerce with Salesforce

I am looking to send Sitecore Commerce product data to Salesforce. Has anyone done something similar to that. There is FuseIT which can be used to send data to Salesforce but I am not sure if it can ...
user avatar
0 votes
1 answer
42 views

Sitecore forms with Sitecore Commerce [closed]

Is it possible to use Sitecore forms inside Sitecore commerce 9.2? Is there someone who has done it. Any examples or suggestions would be appreciated Thanks in Advance
user avatar
3 votes
1 answer
235 views

Commerce Engine 9.2 Visual Studio Development Environment setup issue

I'm trying to set up Commerce Engine v9.2 Visual Studio Development Environment. Previously, I did install and configure the Sitecore Experience Commerce v9.2 locally and I did get the issue. I did ...
user avatar
1 vote
1 answer
114 views

Sitecore Commerce Caching - Why an API?

I need to learn about Caching in Sitecore Commerce and have been reading the documentation here https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/caching.html As a developer used ...
user avatar
0 votes
1 answer
78 views

Can products have multiple prices (regular/student etc.)?

For our project we need products to have multiple prices. All of these prices need to be editable in the backend and they need to be selectable for the customer. This must not be done with vouchers. ...
user avatar
0 votes
1 answer
594 views

Unable to parse [resolvepath(parameter('CommerceEngine-Ops_CommerceEngineWdpFullPath'))]

I'm trying to install Sitecore Commerce v9.2 with SIF. I installed Sitecore Experience Platform v9.2 and updated the installation script. After I run the .\Deploy-Sitecore-Commerce.ps1 on the elevated ...
user avatar
1 vote
0 answers
110 views

Is there an OOTB option to show prices including taxes?

We are setting up a Sitecore Commerce 9.1 application. By default, prices for products are shown excluding taxes (net price). Is there an option to show prices including taxes out-of-the-box, or ...
user avatar
3 votes
1 answer
163 views

Reset-ItemField failing silently

I'm (trying to) using Reset-ItemField to remove broken workflow links. While no error is shown in the console, the relevant fields are not changed. $counter = 0 Get-Item -Path :master -Query "/...
user avatar
0 votes
1 answer
260 views

Sitecore commerce 9.1 Installation failed - 502.5 Failed to start

I am trying to install Sitecore Commerce 9.1 locally, I have followed the installation guide and all went well until I get this exception. I can see there are four websites created in IIS(...
user avatar
1 vote
1 answer
60 views

Sitecore.Commerce.Plugin.Catalog 2.1.9 was not found

When attempting to add a NuGet reference to Sitecore.Commerce.Engine.Orders, version 2.1.5, I get the following error: NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce....
user avatar
  • 1,890
2 votes
1 answer
264 views

How to get a minion to run at a certain time rather than at an interval

Lets say I want my minion to run once every hour then I config this in the Environment file. { "$type": "Sitecore.Commerce.Core.MinionPolicy, Sitecore.Commerce.Core", "WakeupInterval": "01:...
user avatar
0 votes
2 answers
211 views

ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context

When calling AddCartLine in Postman { "cartId":"{ee79d65c-631e-4c96-9dfe-031af910bed1}", "itemId": "Entity-Catalog-MyCat|20023_0000118|00889918331075", "quantity": 1 } I get the ...
user avatar
8 votes
1 answer
267 views

Sitecore Commerce Upgrade path

Sitecore regularly provides new releases for Sitecore Commerce and Upgrade Guides. As far as I can see, if you need to upgrade XC 9 Initial Release to the latest version, you need to upgrade Commerce ...
user avatar
3 votes
1 answer
222 views

How do I configure my commerce engine XC9 (running in the Shops API) to write logs locally?

I have none. I assume they should be here? C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\logs
user avatar
1 vote
1 answer
135 views

Troubleshoot Sitecore Commerce SXA Customer Registration Component

I have a Sitecore Habitat Commerce Instance installed in my machine and everything is working fine. I would like to extend the ICreateCustomerPipeline to include a block to call my loyalty program. ...
user avatar
  • 203
2 votes
1 answer
714 views

Unable to retrieve a Sitecore Item

I am trying to retrieve a Sitecore.Data.Items.Item using this line: var myItem = Context.Database.GetItem("/sitecore/content/x"); but instead of an Item I get a null exception. I have also tried ...
user avatar
1 vote
0 answers
52 views

Trigger EA plan when Sitecore Commerce 8.2.1 orders change status?

I work with Sitecore 8.2 Update-5 and Sitecore Commerce 8.2.1. Is it possible to trigger an EA plan when an order is updated with a new status? Let's say I want to trigger a EA plan that sends an ...
user avatar
3 votes
2 answers
769 views

Add localization to entity

How to add DisplayName in another language version from code? createCategoryCommand.Process(context, category.ParentCatalogId, category.Name, category.DisplayName, category.Description); commands ...
user avatar
1 vote
1 answer
518 views

Get entity by sitecoreId

How to find entity by sitecoreId ? When I query for all categories, return model looks like this { "CompositeKey": null, "CreatedBy": "sitecore\\Admin", "UpdatedBy"...
user avatar
1 vote
2 answers
504 views

How do I create a custom managed list?

I saw from the docs that sitecore commerce has a managed list feature that can be used to mantain and return a list of entity (CommerceEntity). I have been used it to get the list of pending orders ...
user avatar
3 votes
2 answers
386 views

Sitecore Experience Commerce. Create catalog from code

Is there a way to create catalog/product from commerce API? In postman I found example "Add Catalog" but it uses "DoUxActionsaction instead of some REST method like [POST] /Catalogs I managed to ...
user avatar
3 votes
0 answers
295 views

New Client for Identity Server

I am trying to create new client using client_credentails grant but i am unable to do that { "ClientId": "integrations", "ClientSecrets": [ "secret", "...
user avatar
0 votes
1 answer
85 views

How to check Node Configuration in Commerce Engine before Installing the SXC itself?

For some reasons, I need to compare a Node configuration between one version of Sitecore Experience Commerce and another version. Let's say I have only installed SXC 8.2.1 Update 2 and I haven't ...
user avatar
  • 311
6 votes
1 answer
247 views

How to refer to types declared in other plugins

I have been following Akshay's video tutorials about SXC, the last one about creating a minion: https://www.konabos.com/blog/creating-a-minion-for-sitecore-commerce-xc-9/. In this tutorial he creates ...
user avatar
  • 297
0 votes
0 answers
2k views

Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException in Sitecore.Commerce.Engine

I am trying to setup my Visual studio for Commerce Engine Custom Plug-in Development. I am getting the below error while trying to run Commerce Engine (Sitecore Experience Commerce 9.0 update 2). [...
user avatar
  • 1,036
4 votes
1 answer
676 views

Products need USD price to be added to cart

I'm using Sitecore 9.0 Update 1 and XC9 Update 1 in a project for a European customer. We created our own environment based on the OOTB Habitat-environment. In the config-file we set EUR to be the ...
user avatar
  • 275
1 vote
1 answer
2k views

Activation error occured while trying to get instance of type ICacheManager

I have a sitecore commerce site in my local machine and when I click the 'Book Now' button on the website, it shows this error message: GetCurrentCart: Activation error occured while trying to get ...
user avatar
  • 2,573
3 votes
3 answers
407 views

Get / Delete parent category relationships of SellableItem

I've created a plugin for updating sellable items based on data from an external system. One of the things I need to handle is the case where a SellableItem is moved from Category x to Category y in ...
user avatar
  • 565
3 votes
4 answers
2k views

Sitecore Experience Commerce XC 9.0.2 installation error (at Get Token From Sitecore.IdentityServer)

I've tried section (d) from this blog: https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/ And this blog: https://naveed-ahmad.com/2018/02/25/...
user avatar
3 votes
2 answers
1k views

Sitecore Experience Commerce 9.0 installation error on Installing module: Sitecore Commerce ExperienceAnalytics Core

Been stuck here for a while... Installing Sitecore Experience Commerce 9.0 Update-2 on Sitecore XP 9.0.2 This is my first time installing XC. The script used is shown after the log. This is the error ...
user avatar
3 votes
3 answers
629 views

How to import data from Commerce server to Sitecore Commerce 9.0?

We are using Commerce Server 11.0 in Sitecore 8.1 update 1 and want to upgrade it to Sitecore XC 9.0 update 1. How can I import all the Products from the Commerce Server to Sitecore Commerce engine? ...
user avatar
  • 1,036