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
19 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 ...
0
votes
1answer
55 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
86 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 ...
0
votes
1answer
35 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 ...
0
votes
1answer
52 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
32 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
167 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 ...
0
votes
0answers
27 views

Sitecore commerce 9.1 Installation ( PublishToWeb : PublishToWeb step taking long time )

I am trying to install Sitecore commerce 9.1 still installing... almost taking long time 10 to minutes at PublishToWeb step please suggest me! Registering task parameter map WarningAction => ...
1
vote
1answer
77 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
57 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
212 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 ...
0
votes
0answers
66 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
76 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
154 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(...
0
votes
1answer
40 views

Cannot add Sitecore.Commerce.Plugin.Orders

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
117 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
110 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
187 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
166 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
82 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
277 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
45 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
447 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
330 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
287 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
306 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
176 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
75 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
212 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
1k 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
529 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
935 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
242 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
825 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
557 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? ...
15
votes
1answer
3k 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 ...
3
votes
2answers
253 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....
4
votes
1answer
339 views

Failed to persist profile to underlying stores

I have completed the Sitecore Commerce 8.2.1 setup. When I try to register a user on the live site, it shows this error on page: Failed to persist profile to underlying stores I have verified the ...
3
votes
1answer
300 views

Sitecore Commerce - Transactions are not going through when using remote server

I have installed Sitecore Commerce 8.2.1 in our DEV environment. The database is in a remote server. When we click on the "Add to cart" button it throws these exceptions: [SQL:block:...
2
votes
1answer
150 views

Commerce configuration files CD server

What files from Commerce should be enabled/disabled on a Content Delivery server. I can see all files from folder : App_Config\Include\Y.Commerce.Engine use a rule-based configuration like : <...
1
vote
1answer
153 views

No decimal place in price card snapshots?

I'm working on a project where we are using Sitecore Experience Commerce 9.0 Update-1. When I try to add a price to a sellable-item, I have the problem, that I cannot save prices with decimal places. ...
1
vote
1answer
200 views

How can I unit test a sitecore commerce engine plugin?

The documentation is not rich of information IMHO and, about this topic, I haven't found anything, at least in the version 8.2.1 (version I'm using). In commerce 9 docs there is only a little ...
3
votes
1answer
491 views

Add category into a catalog programatically

How can I add a category programatically ? In postman are examples how to add category into a catalog or how to add a subcategory. When I am calling AddCategory I am receiving next exception: { ...
1
vote
1answer
363 views

How to Debug Default Sitecore Commerce Engine Plugin?

I found several posts on how to debug Customer Sample Solution or the new plugin we created. Could someone suggest me the step-by-step guide to debug the default (original) plugin in Sitecore ...
2
votes
1answer
81 views

How to create a new InventorySku?

I am using the IGetInventorySkuPipeline to get hold of an InventorySku object. If I get one, then I want to modify and save it and if I don't get one (for the productId I send down the pipeline), then ...
0
votes
1answer
61 views

NU1603 adding Sitecore.Commerce.Plugin.Orders package

While adding a package reference to Sitecore.Commerce.Plugin.Orders, I see the following error: NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce.Plugin.Catalog (>= 2....
4
votes
1answer
393 views

Updating stock balance in the inventory catalog

When updating the stock balance in a catalog I have found this pipeline to help me do that. UpdateItemAvailabilityPipeline In order to use that I need to know the name of the product catalog, the ...
2
votes
1answer
386 views

Getting LineIsNotPurchasable error from commerce engine

I'm facing a strange error from commerce engine v. 8.2.1 If I add a product to cart as guest, all the pipelines work flawlessly and the product is added to the cart. Instead, as a registered user, ...
0
votes
1answer
149 views

Basic understanding of the authoring.json file

I got a task to rename all the namespaces in a solution according to a new namespace strategy and after I was done the solution builds and starts but when I try to bootstrap the updated ...