We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [sitecore-commerce]

Sitecore Commerce Connect is the Sitecore commerce API for storefront developers and is an integration layer between a front-end webshop solution and a back-end external commerce system.

Filter by
Sorted by
Tagged with
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 ...
2
votes
2answers
625 views

Can't bootstrap/initialize a new Sitecore Commerce 9 instance on Azure App Service

Just starting messing with Sitecore Experience Platform/Commerce 9.0 update 1 on Azure's App Service, managed to deploy it fairly easily, but now I'm stuck during the bootstrap/initialization part. ...
0
votes
1answer
59 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....
1
vote
1answer
135 views

Disable Sitecore Ecommerce cache building on startup

Is there a way to disable Sitecore Ecommerce cache processing on startup? This takes ages before its completed and Sitecore is running. Sitecore version is 9. 11660 11:33:40 INFO Commerce....
3
votes
1answer
352 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 ...
0
votes
1answer
510 views

Sitecore Commerce 9 Update 1 installation problem

I was trying to install sitecore commerce 9 update 1 through "Deploy-Sitecore-Commerce.ps1" But unfortunately i am ended up with the below error: [-------------------------------- ...
2
votes
1answer
328 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
114 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 ...
5
votes
1answer
134 views

Cart always has 0 total

Since setting up a Commerce 9 development environment, I've noticed an issue in which the totals for the cart are always 0. I've customised the currencies across the board, but I've not specifically ...
1
vote
2answers
857 views

Getting “Status Code: 401; Unauthorized” when bootstraping Sitecore Commerce 9

I am trying to upgrade Sitecore Commerce 9 Initial Release to Update 1. One of the steps is to do bootstrap in Postman. When I do it, I am getting this exception: Status Code: 401; Unauthorized ...
5
votes
1answer
314 views

Unable to resolve service for type 'IPipelineConfiguration' while attempting to activate 'CustomPipeline'

I've defined a custom pipeline in my ConfigureSitecore, but when I run the engine I get the following error: InvalidOperationException: Unable to resolve service for type 'Sitecore.Framework....
3
votes
2answers
188 views

How to setup a simple standalone XC9 instance?

Dear Sitecore Community, I'm working on a Sitecore 9 solution where we want to start a eCommerce project using Sitecore Experience Commerce 9. Therefore I want to install the Sitecore XC 9 components ...
4
votes
1answer
236 views

Unintentional parallel minions

If the workload of a minion takes longer time than it's WakeupInterval, in order to avoid getting a second copy of the same minion processing the same list, is there a way to know if there is a ...
1
vote
2answers
559 views

Install-SitecoreConfiguration : Parameter 'PhysicalPath' should point to existing path

I am trying to install Sitecore Commerce 9.0.1 (Commerce 9 Update 1) on my local machine and I hit a major block. While running the .\Deploy-Sitecore-Commerce.ps1 script, I hit the following ...
0
votes
2answers
3k views

Unable to connect to master or target server 'SitecoreCommerce9_Global' Error While Installing Sitecore Experience Commerce

Hi all I'm getting the following error while installing Sitecore Experience commerce on Sitecore 9 Update 1: Initializing deployment (Failed) System.Management.Automation.MethodInvocationException: ...
1
vote
1answer
63 views

GetPolicy<T>() returning null, causing NullReferenceException in OOTB functionality

It was my understanding that calling context.GetPolicy<T>() would create an instance of the policy if it wasn't attached to the environment, however I'm seeing the opposite in a pipeline block ...
0
votes
1answer
76 views

Custom EnttiyView / PropertyView labels are appearing blank in BizFX

I've added a custom EntityView via IGetEntityViewPipeline, but none of the text is appearing. I can see that it's been rendered, but all of the text values are blank (even in the rendered markup). My ...
1
vote
3answers
1k views

Installing Sitecore Commerce 9 on Dev

I'm trying to install Sitecore Commerce 9 on my local machine. To do that I've created "C:\deploy" and copied files into that. Then revised SIF installation file like below: #Requires -Version 3 ...
3
votes
1answer
118 views

What is the correct syntax to run the startEnvironmentPipeline?

This is a follow-up question to the question asked here: How do I auto-start my Commerce Minions? In the line: startEnvironmentPipeline.Run("yourminion", _nodeContext.GetPipelineContextOptions()); ...
3
votes
0answers
1k views

Could not establish trust relationship for the SSL/TLS secure channel error while installing Commerce 9

Sitecore 9 Commerce 9. I have created new self signed certificate, exported to my deploy folder and starting the deploy script for installing commerce 9 "Deploy-Sitecore-Commerce.ps1", but the script ...
5
votes
1answer
355 views

“GetCurrentCart: Value cannot be null” when adding item to cart

When I originally installed Commerce 9 via SIF, everything worked fine. But since building/deploying the Sitecore.Commerce.Engine project (sans all sample plugins), adding an item to the cart results ...
2
votes
1answer
200 views

Catalog data disappearing after publishing from the Commerce 9 Engine SDK

When I initially completed installation everything was working as expected, but ever since I build and published the Sitecore.Commerce.Engine project from the SDK (sans the sample plugins) catalog ...
7
votes
1answer
822 views

Correlation of SXA Site, Storefront, and Commerce Shop

After renaming the Storefront so that it made more sense without the context of the Tenant parent folders, the Commerce data no longer appears on the website. It's not entirely clear why it broke, ...
4
votes
1answer
144 views

How to automatically clean up Commerce Engine log files?

Today we had a server go down because Commerce Engine filled up the disk space with log files. How can we configure it to automatically delete older log files? We're on Sitecore Commerce 8.2.1.
1
vote
1answer
105 views

Issue with publishing in Sitecore, datasource is not set for few items

I have a Sitecore 8 project where we have created a component for the editors to use. On that editor we used product detail where image carousel is being used to display images. An image carousel ...
2
votes
0answers
56 views

Field validation in custom commerce product's property

I've customized a commerce product generated template adding a few fields via field mapping as shown in the commerce getting started guide. Now I would like to add some validation to those fields but ...
3
votes
3answers
696 views

Is there any way to import bunch of new products using OData API in Sitecore Commerce 9?

I found that there are no OData API methods for importing new products into the catalog of Sitecore Commerce 9. The only thing you can do is to use /api/DoUxAction() to add new sellable item and then ...
3
votes
1answer
664 views

Which is the correct way to customize a Sitecore Commerce product model?

I need to build a pretty articulated custom commerce product's model but I have found some strange difficulties doing this, which I didn't expect. An example: I have a product model with a correlated ...
6
votes
2answers
137 views

Unable to get policy object when running pipeline from Startup class Config method in Commerce Engine in Sitecore Commerce 8.2.1

I created a pipeline with only one block, on the block implementation I get a Policy object, something like this: var testPolicy = context.GetPolicy<TestPolicy>(); Condition.Requires(testPolicy)...
6
votes
3answers
1k views

Shop 'Storefront' does not exist exception while accessing Sitecore commerce application

While accessing my Sitecore Commerce application, I am getting the following error. { "@odata.context":"http://localhost:5000/Api/$metadata#Sitecore.Commerce.Core.CommandMessage","MessageDate":"...
1
vote
0answers
214 views

Sitecore Commerce Categories children is not being populated. “GetNavigationViewModel”

I have setup Sitecore 8.2 + Commerce Server + SOLR I have created Catalog under departments. "Commerce Catalog Manager" [Commerce Catalog Manager] ABC (category) ZYX (sub Category) ZZZ (sub ...
3
votes
0answers
363 views

Commerce problem on Checkout page - Getting Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException

I have installed Sitecore.Demo.Retail and it is working fine overall. Problem is on the checkout page where I am getting this error: The underlying website error message is : Exception: Microsoft....
9
votes
1answer
106 views

How do I reach the different properties on my Promotion, from the Adjustments collection?

We have configured Sitecore Commerce with a number of Promotions. One of them looks like this: And the promotion code works fine. If added to the basket, the benefits of the promotion kick in and the ...
4
votes
0answers
120 views

Setup Commerce Server

I am following the Sitecore Commerce Deployment Guide. No errors until the New-CSWebService command on power shell. The message is quite straight forward: New-CSWebService :The specified ...
4
votes
2answers
651 views

Commerce Server Catalog Manager - 8.2.1

I am installing the Sitecore Commerce 8.2.1 Update 2. Installing the Adventure Works Front Store it my Catalog was not installed. Just like described here: Issues while installing commerce - Entity ...
2
votes
0answers
219 views

How do you delete an approved promotion?

Using Sitecore Commerce 8.2.1, I am not able to delete an approved promotion in the Pricing & Promotion Manager. I get the following error message: 'MyOrg_PromotionBook-Test Promo' cannot be ...
6
votes
2answers
478 views

How do I auto-start my Commerce Minions?

I've configured a Minion for my Sitecore Commerce solution. We're on 8.2.1. It's set up like this: { "$type": "XYZ.Commerce.Plugin.Custom.Policies.QueuePolicy, XYZ.Commerce.Plugin.Custom", ...
4
votes
1answer
421 views

How to change url to Commerce Server Catalog service

Summary Sitecore Commerce 8.2.1 uses a Commerce Server Catalog service to store information about products. This service can be accessed using the Catalog Manager tool, the Merchandising Manager ...
10
votes
1answer
1k views

Error HRESULT E_FAIL has been returned from a call to a COM component when launching my Sitecore Commerce site

I have recently encountered the question related to Windows 10 Fall Creators Update (1709) breaking Sitecore Commerce 8.2.1 Update 2 installs. I had a perfectly working Sitecore Commerce 8.2.1 Update ...
5
votes
2answers
223 views

Getting Order Index to update on CM box, in a multi-box Sitecore Commerce setup

So we have a common setup of Sitecore Commerce running. 2 CD servers 1 CM server All of these run the Commerce Authoring services locally (all of the above are pretty much configured identically), ...
4
votes
0answers
196 views

Aggregation Error at Sitecore.Commerce.ExperienceAnalytics.Models.CartLineModel

Processing server logs are full of the error Aggregation Error Exception: System.InvalidOperationException Message: Object reference not set to an instance of an object. Source: Sitecore....
6
votes
2answers
396 views

Implementing ItemTaxPolicy

I have installed the Sitecore.StoreFront solution by following the official deployment's guide. I have also got from github the latest source code's version which I'm using as base for my commerce ...
3
votes
2answers
216 views

The name 'CommerceTypeLoader' does not exist in the current context

I merged the C:\inetpub\wwwroot\storefront\Website\MergeFiles\Merge.Commerce.Storefront.config C:\inetpub\wwwroot\storefront\Website\MergeFiles\Merge.CommerceServer.config to C:\inetpub\wwwroot\...
4
votes
2answers
272 views

How do you add Renderings (Layout) to the Product and Category Template in Sitecore Commerce Server?

The sitecore commerce server adds a base product template (CommerceProduct /sitecore/templates/Commerce/Catalog/CommerceProduct) as inheritance template to the AdHoc generated products templates. If ...
1
vote
2answers
378 views

Issue with habitat.commerceengin.dev.local:5000/Api [closed]

Hi I'm working on a POC using Sitecore Retail demo. Yesterday I imported all the images for every product, and now this error is showing on every page. Any idea? 4464 19:58:16 ERROR Application error....
5
votes
1answer
303 views

How do you configure Commerce Authoring Service without SSL / TLS

I try to setup Sitecore commerce 8.2.1 using the steps in the documentation by sitecore (http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html). If the Commerce Authoring ...
2
votes
1answer
190 views

Sitecore Commerce Analytics Errors

I have installed and configured the Sitecore Demo Retail site on top of Sitecore Commerce 8.2.1. I have been having issues with the commerce page events and analytics. I cannot seem to get any data ...
4
votes
1answer
430 views

Getting error after complete the Commerce Site setup and try to reinstall the Package Storefront.Powered package)

I try to setup Sitecore commerce 8.2.1 using the steps in document mentioned below http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html When i complete the Commerce Site ...
4
votes
1answer
244 views

Commerce Authoring GetBulkPrice method Problem

I followed the documentation about Sitecore Commerce installation. I finished configuring everything, then try to open storefront. It returns error something like "HTTP Error 502.3 - Bad Gateway The ...
4
votes
1answer
419 views

How to add extra column to Order Entity in Sitecore Commerce 8.2.1

I am working on an assignment to add some extra columns to Order entity when order save into database. But it's using database table name _SitecoreCommerce.SharedEnviornment table and data store in db ...