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
0 answers
94 views

Sitecore Commerce Authoring instance and Sitecore XP do not communicate well [closed]

I have a problem with my Sitecore Commerce instance which I moved from another server where in works by copying wwwroot folders, databases and certificates on top of fresh SC Commerce install and ...
Elena P's user avatar
  • 616
1 vote
1 answer
55 views

Sitecore Commerce Authoring does not start

I am trying to install the Sitecore Commerce 9.2 solution locally by porting wwwroot folders, databases, certificates from a server where it works fine on and installing them on top of my clean ...
Elena P's user avatar
  • 616
1 vote
2 answers
71 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. ...
S K's user avatar
  • 11
0 votes
0 answers
81 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 ...
Nithya's user avatar
  • 97
0 votes
1 answer
82 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 ,...
Sachin Dabas's user avatar
0 votes
0 answers
48 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\...
sukesh's user avatar
  • 3,053
0 votes
1 answer
357 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
115 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
83 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 ...
sukesh's user avatar
  • 3,053
0 votes
0 answers
147 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 ...
Benjamin's user avatar
1 vote
1 answer
127 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 ...
Serge van den Oever's user avatar
2 votes
1 answer
85 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 ...
Serge van den Oever's user avatar
0 votes
1 answer
44 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 ...
Diego's user avatar
  • 5,678
0 votes
2 answers
589 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....
Shrad's user avatar
  • 193
0 votes
2 answers
185 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 ...
Prashant Tomar's user avatar
2 votes
2 answers
362 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-...
Vivek Venugopalan's user avatar
2 votes
1 answer
93 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 ...
lcaaroe's user avatar
  • 23
0 votes
1 answer
118 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 ...
Jeyanth Praveenkumar's user avatar
2 votes
2 answers
482 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 ...
Dhelip Kumaar's user avatar
0 votes
0 answers
443 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 ...
Gowthamaraja Eswaramoorthy's user avatar
1 vote
1 answer
64 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 ...
Max's user avatar
  • 209
1 vote
1 answer
73 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
46 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
245 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 ...
Ercan Polat's user avatar
1 vote
1 answer
122 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 ...
Matthew Dresser's user avatar
0 votes
1 answer
79 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. ...
Lars-Pascal Körber's user avatar
0 votes
1 answer
736 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 ...
Ercan Polat's user avatar
1 vote
0 answers
122 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 ...
Lars-Pascal Körber's user avatar
3 votes
1 answer
273 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 "/...
Matthew Dresser's user avatar
0 votes
1 answer
294 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(...
Dheeraj Palagiri's user avatar
1 vote
1 answer
72 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....
Dan Solovay's user avatar
  • 1,971
2 votes
1 answer
319 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:...
Thomas Wegebrand's user avatar
0 votes
2 answers
235 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 ...
M. Brandel's user avatar
8 votes
1 answer
292 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 ...
Andrei Paliakou's user avatar
3 votes
1 answer
231 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
M. Brandel's user avatar
1 vote
1 answer
137 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. ...
WenHao's user avatar
  • 213
2 votes
1 answer
889 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 ...
Thomas Wegebrand's 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 ...
Raskolnikoov's user avatar
3 votes
2 answers
800 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 ...
user1075940's user avatar
1 vote
1 answer
606 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"...
user1075940's user avatar
1 vote
2 answers
545 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 ...
user1624411's user avatar
3 votes
2 answers
394 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 ...
user1075940's user avatar
3 votes
0 answers
362 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", "...
user1075940's user avatar
0 votes
1 answer
92 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 ...
xdrnc's user avatar
  • 311
6 votes
1 answer
252 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 ...
ebug's user avatar
  • 307
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). [...
Amitabh's user avatar
  • 1,056
4 votes
1 answer
723 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 ...
n-develop's user avatar
  • 275
1 vote
1 answer
3k 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 ...
sukesh's user avatar
  • 3,053
3 votes
3 answers
463 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 ...
Nico Grms's user avatar
  • 575
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/...
Minjae Kim's user avatar