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
5
votes
1answer
168 views

SEO Friendly Commerce Page URLs

While Sitecore supports SEO Friendly URLs, the Sitecore Commerce page URLs can be quite ugly. Is there a way to make these more SEO friendly? Haven't been able to find any type of configuration ...
3
votes
1answer
300 views

Does Sitecore XP 9.1 & Sitecore XC 9.0.2 use IdentityServer separately?

Since Sitecore XP 9.1 has just been released recently within the new authentication mechanism, it's a .NET core based on IdentityServer4. We all know Sitecore XC 9.0.2 also has its own IdentityServer. ...
9
votes
1answer
668 views

How to avoid logging an error when aborting a pipeline

By default an error is logged when I abort a pipeline in Sitecore XC9. For example; context.Abort("Abort pipeline", context); Sometimes I want to abort a pipeline without logging an error, i.e. ...
1
vote
0answers
34 views

How to get coupon code in storefront site with coupon name from Order? [duplicate]

I need coupon code in storefront site but in order, there is only Coupon Description and Amount inside Adjustments. Is there any way to get coupon code? I need coupon code on Storefront side not in ...
1
vote
1answer
141 views

How to get the applied promo code text?

We have a website built on Sitecore commerce and working on the following requirement. When user applies a promo/coupon code at checkout, validate the code with a third party system. Is it possible ...
0
votes
0answers
37 views

Category information or relationship are not getting updated

I am using using Commerce Server 11.0 in Sitecore 8.1 update 1. I have some categories which are shown across Menu in my websites. The categories are getting updated in the commerce server catalog ...
2
votes
1answer
112 views

How do you handle security/certificates when using the service proxy for Commerce Engine?

Rob Earlam has a blog post about the service proxy that comes with the Commerce SDK. That post explains how: the Service Proxy acts as a middleman between your engine code and your storefront code, ...
10
votes
1answer
199 views

Commerce crashing after longer inactivity

We are using Sitecore Commerce 9.0.2. On our test server, usually after a weekend (thus assumption that the inactivity time is significant factor here) the Commerce responds with a InvalidShopCurrency ...
4
votes
1answer
180 views

Component is an OData Entity and thus a NavigationProperty

I am using Sitecore Commerce Experience 9 update-2, and want to add a custom child component to an entity. The Sitecore.Commerce.Core.Component has a Key annotation (of type System.ComponentModel....
2
votes
2answers
448 views

SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed

I am getting the below error in the Sitecore Authroing logs. What is the issue or any configuration problem? ERROR SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be ...
1
vote
1answer
128 views

Recommended Server specs for multi developer VM - Sitecore 9 development

Our company have a team (14 developers) working in a Sitecore based solution. Currently for every dev we have i7 16gb ram 500gb SSD installation in each dev machine. But now we want to move to a ...
0
votes
1answer
77 views

How to get PhoneNumber from Sitecore.Commerce.Plugin.Customers.Customer?

How to get PhoneNumber from Sitecore.Commerce.Plugin.Customers.Customer which is in CustomerDetailsComponent.
0
votes
1answer
116 views

How to get Order using OrderConfirmationId/TrackingNumber in Sitecore Commerce?

I need to get Order detail using OrderConfirmationId in sitecore commerce storefront side(not in commerce engine). I could only find methods in OrderServiceProvider which requires OrderId to get Order....
1
vote
0answers
44 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 ...
0
votes
1answer
57 views

How to add IP Address to Order in Commerce

I need to add IP Address of customer when order is getting created in Sitecore Commerce 9.0.2 from cart using OrderServiceProvider method.
1
vote
2answers
139 views

How to debug custom minion block which is inside IPendingOrdersMinionPipeline?

I have replaced default ReleaseOrderBlock with CustomBlock inside IPendingOrdersMinionPipeline. I have tried debugging by stopping CommerceAuthoring_Sc9 in IIS and running Commerce engine on port 5000 ...
0
votes
1answer
114 views

How to sync content items in XC9?

I noticed that configuration settings, e.g. /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront, (and probably also other configuration settings) ...
2
votes
1answer
80 views

Implementing Price scale on AddToCart

I need to update product price on Product detail page based upon the quantity selected by the user. When the user ADD an item to the cart, scaled price should be reflected according to the quantity ...
2
votes
3answers
177 views

Publishing items after catalog import (using XC9 update-2)?

I am using Sitecore XC9 update-2 and noticed that import commerce items are not published by default. The items are however shown when using the Authoring environment, but not when using the Shops ...
2
votes
1answer
155 views

Can't add image to the sellable item

We are using Sitecore 9 Update 2 + Sitecore Commerce 9 Update 2. Search field didn't return any result when I'm trying to add an image to the sellable item. As a key, I use image name. Before that, ...
1
vote
2answers
147 views

How to delete orders in Sitecore Commerce 9?

I have some orders which need to be removed. In OrderServiceProvider class could not find any method related to deleting the order. Is there any other way to delete orders?
1
vote
1answer
97 views

Sitecore commerce promotion condition

I wanted to add a promotion condition in Sitecore Commerce. I have created a custom promotion condition using a promotion plugin and deployed it to Authoring web site. I can not see the custom ...
0
votes
0answers
92 views

Set Custom User Properties Into Cart for use with pricing

I have been able to update cart prices by user properties by hooking into ICalculateCartLinesPipeline. However, currently, I am using hard coded pricing properties. I would like to set some properties ...
1
vote
1answer
227 views

Product catalog's sellabe item - index in Sitecore_Web_Index

We have created a version of sellable items in the product catalog. It is in the draft mode. When I search the same item, we found two different items in the sitecore_web_index. One for the earlier ...
1
vote
1answer
183 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 ...
0
votes
1answer
113 views

How to create a custom benefit

I have created a custom benefit/action for a promotion. When user applies the promo, nothing happens. There are no errors when i check in debug. The code is hit though. public void Execute(...
2
votes
1answer
355 views

What does the Refresh Commerce Cache button exactly?

What does the "Refresh Commerce Cache" button in the Sitecore Content Editor exactly do? Does it perform a REST call on the XC9 Commerce Engine? And if so, what would be the call (in Postman)?
3
votes
1answer
149 views

XC9 entity composer templates: circular template inheritance

I am assigning an Entity Composer template by Item Defintion to a Sellable Item. This shows fine in the Business Tools, but the generated Sitecore item templates have a circular dependency. The ...
0
votes
1answer
97 views

Product Catalog not available on CD [closed]

We are using Sitecore Commerce 9.0.2 and CD and CM are on two different servers. CM is working perfectly fine and we are able to see the product catalog data on CM but it is not displaying on CD ...
3
votes
2answers
180 views

Get Sitecore item from Sitecore Commerce context

I am using Minion and i wanted to get the Sitecore item from Minion? I can't add in the policy file. I am using Sitecore 9.0.1 version Any pipeline or command to use here?
2
votes
1answer
51 views

Overriding the Cart Price

I need to be able to provide pricing by a number of factors. I have found that I can add a component to a sellable item that would allow me to add those variable prices to the sellable item. I can ...
4
votes
1answer
52 views

Sitecore Commerce Plugin.Sample.Notes EntityVersion issue

If anyone follows the Sitecore KB article https://kb.sitecore.net/articles/083614, "How to extend Catalog system entities schema in Sitecore Experience Commerce 9.0", you may encounter the issue where ...
1
vote
1answer
217 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
1answer
56 views

XC9 Sales Activity definiton

I can not find any describtion of a XC9 Sales Activity. What is a XC9 Sales Activity exactly?
3
votes
1answer
198 views

How to access Promotion properties

I'm working on creating a custom promotion. Our site sells theme park & hotel tickets online. The business scenario is - 20% off, if the visit date is 3 months from today. The user can add both ...
2
votes
2answers
187 views

After XC 9.0.2 install, Store home page shows Default Sitecore CMS page

After the successful install of the Sitecore XC 9.0.2. I get the store homepage same as the Sitecore CMS. Not sure if this has to do with port binding. I will really appreciate if some expert can ...
1
vote
1answer
48 views

Varying pricing by member types

This is a followup to this question: Sitecore Commerce Member Type Pricing. I want to vary pricing by member type as well as by geography. I started going down the road of attempting to use price ...
1
vote
1answer
42 views

Commerce server manager Profile definitions return 404 webpage

As I am trying to check Profile Definitions under Global resources in Commerce Server Manager and getting webpage not found 404 for all objects Address,User Object... so on. After going through ...
1
vote
0answers
62 views

Virtual catalogs in Commerce 8.2.1

We are trying to work with virtual catalogs but have some trouble finding documentation on how it is supposed to work. Our objective is just to use two base catalogs together in our storefront and ...
3
votes
1answer
64 views

Hard-coded payment option types

I noticed that the payment type (e.g. used in http://{{ServiceHost}}/{{ShopsApi}}/GetCartPaymentMethods(cartId='Cart01', paymentType='Creditcard')) is no where configured in Sitecore. It turns out ...
1
vote
1answer
201 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 ...
1
vote
1answer
40 views

Sitecore 9 Commerce Specify Sitecore IDs on Create Catalog

I am creating a catalog from code. _createCatalogCommand.Process(context.CommerceContext, AcogConstants.CatalogName, "My Catalog"); Process works. However, if clean the environment and re-run the ...
0
votes
1answer
102 views

Sitecore Commerce 8.2.1 Get all carts of a given user

I need to give the customers the possibility to have more than one cart, and I am not able to find a way to retrieve all the carts related to a given customer. I'm creating carts with this name ...
3
votes
2answers
222 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 ...
1
vote
2answers
195 views

EnvironmentName setting in config.json

I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions. What is the purpose of this setting? (I could not find any official documentation about it) Shouldn't ...
3
votes
0answers
115 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", "...
1
vote
0answers
244 views

Can I use self-signed certificates for xConnect, Solr, and Sitecore Commerce in a Sitecore 9 XP0 production deployment?

I am planning a small Sitecore 9.0.2 + Sitecore Experience Commerce production deployment for a demo website with very low traffic. I do not have a lot of time to provision multiple servers, so I plan ...
2
votes
4answers
261 views

Sitecore Commerce installation error in opening Microsoft.Web.XmlTransform.dll

I am installing Sitecore Commerce 9 on site with Sitecore 9.0 Update 2. I am using SIF to install Sitecore Commerce. I get the following error and it interrupts the commerce installation. Install-...
3
votes
2answers
214 views

Commerce Catalog Export & Import

When we install Sitecore Commerce 9.0.2, by default we got Habitat catalog. We have created a new catalog as per my project requirement. Now I want to deploy the same catalog to the other/higher ...
5
votes
1answer
170 views

How to delete Catalog, Category and SellableItems in Sitecore Commerce programatically?

I need to delete the catalogs from Sitecore Commerce by using code. Is there any pipeline or command?