Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
36 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
35 views

Sitecore commerce and Ucommerce content location query [closed]

We are working on a project where e-commerce module is also to be integrated. The project involves product to be stored on learning application and web services is to be used to fetch the data from ...
0
votes
0answers
18 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
36 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, ...
7
votes
1answer
94 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
105 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
83 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
48 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
41 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
37 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
30 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
45 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
62 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
35 views

Can not associate inventory to the base sellable item.Sitecore 9 update 1

While trying to add the Sellable item to Inventory , I got the below error. Can not associate inventory to the base sellable item. Use one of the variants instead. How to fix this error?
0
votes
1answer
43 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) ...
1
vote
1answer
49 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 ...
1
vote
2answers
64 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 ...
1
vote
1answer
64 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, ...
0
votes
0answers
22 views

Using decimal numbers for List price [duplicate]

We are using Sitecore 9 Update 2 + Sitecore Commerce 9 Update 2. I'm trying to add decimal value to "List price" section of sellable items. If I use a dot as separator I get an error "Invalid or ...
1
vote
2answers
55 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
54 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
32 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
57 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
50 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
55 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(...
0
votes
0answers
42 views

Not able Disassociate Category to Catalog - getting error

I did disassociate all Sellable Items from Category and while doing disassociating Category from Catalog , i got the below error. is there any option to delete the Catalog along with its ...
2
votes
1answer
181 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
0answers
69 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
40 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
1answer
58 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?
0
votes
0answers
61 views

Product Catalog is not showing intermediately

I am using Sitecore commerce 9.0.2 and getting "No product data available". Sometimes we are able to see the product catalog but sometimes it is showing this issue. Usually after recycling the app ...
2
votes
1answer
41 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
31 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 ...
0
votes
0answers
27 views

Habitat InitializeCatalogBlock is not working in Sitecore 9.0.1

I am trying to InitializeEnvironment api through POSTMAN. I got the below error. Any inputs on it ERROR Pipeline completed with error System.Exception: Error processing block: AdventureWorks.block....
1
vote
1answer
86 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"...
0
votes
1answer
31 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
109 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
55 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
35 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 ...
0
votes
0answers
33 views

Storefront Homepage Showing CMS Homepage (9.0 Update 2)

I just finished installing Sitecore 9 Update 2 CMS and Commerce. Both scripts completed without any errors. I am able to access the CMS from http://sitecore.local and the launchpad at http://...
0
votes
1answer
18 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
votes
0answers
30 views

Error after enabling Azure Search for Sitecore 9.0.1

I did the below steps. 1. Created Azure Search service and taken API 2. Added in Connection string 3. Changed search:define value="Azure" After that i got the below error Could not find ...
1
vote
0answers
24 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
25 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
79 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
30 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
0answers
12 views

Sitecore Commerce pb Commerce Server 8.2.1 Implementation of wishlist throws CommerceResourceDependencyException

I'm trying to implement wishlists in Sitecore Commerce 8.2.1 powered by Commerce Server and I'm following Kaz's implementation to do so. However, I'm getting following exception: 20852 17:05:01 ...
0
votes
1answer
56 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 ...
2
votes
2answers
69 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
100 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 ...