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
0
votes
1answer
35 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 ,...
0
votes
0answers
30 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\...
0
votes
1answer
70 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/...
1
vote
1answer
73 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 ...
1
vote
1answer
45 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 ...
0
votes
0answers
67 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 ...
1
vote
1answer
63 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 ...
2
votes
1answer
52 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 ...
0
votes
1answer
32 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 ...
0
votes
2answers
196 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....
0
votes
1answer
70 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 ...
2
votes
2answers
162 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-...
2
votes
1answer
59 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 ...
0
votes
1answer
57 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 ...
2
votes
2answers
344 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 ...
0
votes
0answers
228 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
69 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 ...
0
votes
1answer
41 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
3
votes
1answer
219 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 ...
1
vote
1answer
109 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 ...
0
votes
1answer
66 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. ...
0
votes
1answer
487 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 ...
1
vote
0answers
102 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 ...
3
votes
1answer
128 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 "/...
0
votes
1answer
232 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(...
1
vote
1answer
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....
2
votes
1answer
227 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:...
0
votes
2answers
185 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 ...
8
votes
1answer
253 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 ...
3
votes
1answer
211 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
1
vote
1answer
123 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. ...
2
votes
1answer
622 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 ...
1
vote
0answers
46 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 ...
3
votes
2answers
709 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 ...
1
vote
1answer
463 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"...
1
vote
2answers
469 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 ...
3
votes
2answers
378 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 ...
3
votes
0answers
238 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", "...
0
votes
1answer
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 ...
6
votes
1answer
240 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 ...
0
votes
0answers
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). [...
4
votes
1answer
644 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 ...
1
vote
1answer
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 ...
3
votes
3answers
356 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 ...
3
votes
4answers
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/...
3
votes
2answers
996 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 ...
3
votes
3answers
616 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? ...
16
votes
1answer
4k views

How to start development with Sitecore Commerce 9 / Sitecore Commerce 9 Learning Resources

I am new to Sitecore Experience Commerce (SXC) 9 development and want to embrace the whole platform. Where should I start? What should I learn, watch & read? Where can I find help if I need ...
4
votes
2answers
446 views

InitializeEnvironment Postman script always returned the status as "WaitingForActivation"

Whenever i tried to trigger InitializeEnvironment Postman script.. {{OpsApiHost}}/{{OpsApi}}/InitializeEnvironment(environment='{{Environment}}') I always get below as a response. { "@odata....