Using TermFacets to return a list of product namespaces under a node
Hi,I need to run a Find Query to return a list of product namespaces which exist under a category node. So when the category loads, it will hit Find to ask what types of products exist as descendants...
View ArticleHow to customize validation message for each field episerver form.
Hi,I want to implement custom validation message for each filed in form,Does anyone know if we can customize a validation message for each field? Now I have two textboxes (Name, Email), those are...
View ArticleIssue with EPiServer.Web.Routing.UrlResolver.GetUrl for Commerce content...
Hi,When using the EPiServer.Web.Routing.UrlResolver.GetUrl method to get the url of multiple content versions (published and previous published) of the same Commerce content it always return the same...
View ArticleEpiserver Find How to index pages with no template
Hi,I am relatively new with working with Find so sorry if this might be a stupid question :) I am currently working on a project where we have implemented Episerver Find and we have a PageType that...
View ArticleIf user is signed in with Owin, Commerce's _customerContext.CurrentContactId...
HiI have this method which checks if a cart already exists:protected ICart GetExistingCart(string name) => _orderRepository.LoadCart<ICart>(_customerContext.CurrentContactId, name,...
View ArticleCustomer Service Representatives UI and OWIN?
Hi,I'm trying out the new beta of "Customer Service Representatives UI" but when fetching data from "https://..../EPiServer.Commerce.UI.CustomerService//countries" I get a 401 unauthorized response.The...
View ArticleDoes consuming another EPiServer site's content require an extra license?
Hi! A friend of mine told me that if I have a non-EPiServer website which consumes content from an EPiServer website, then an extra EPiServer-license is required. Is this true? Lets say I have a...
View ArticleConvert single page PageType to another PageType programically
Hello,i found the topic https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2018/5/convert-page-type-to-another-page-type-programmatically/ where there is described...
View ArticleCustom ContentProvider routing issue
We've made a custom ContentProvider for listing a document structure from Sharepoint. Since the structure is outside the asset root, according to some examples you can add routes for it like we're...
View ArticleCannot read property 'contentData' of null -- Publish (when...
Hello All,I am starting out my journey into EpiServer and trying to spin up the AlloyDemo application. I am playing around with Users and associated permissions (more specifically Publishing a page). I...
View ArticleContentResultService is executed instead of the injected one
I'm strugling with super weird issue. I wanted to test an example from...
View ArticleException when adding/updating cart or listing cart items, problem with workflow
Hi!We are running Commerce 11.2.2 and are still using workflows. We just found out that exceptions are caught when we run the CartValidate workflow.Our code:public bool AddToCart(string code, decimal...
View ArticleCreating customer groups programtically
Hi, I am trying to look for way to add a new customer group programatically. I dont see any examples, does anybody have any idea about this? I want to update pricing based on customer groups, and if...
View ArticleSuspicious cast there is no type in the solution which is inherited from both...
Hi all,the code below causes "Suspicious Cast" warning. Nevertheless everything works.if(contentRepository.TryGet<FormContainerBlock>(copyContentEventArgs.ContentLink, out var...
View ArticleUpdate all packages to support Newtonsoft.Json v12
Newtonsoft.Json is now in v12, it would be nice to be able to update to that version so please fix all your packages that has dependency to this to work with version 12
View Article[v12.10 -> 12.16] Legacy Promotions - Code column missing from UI after upgrade
Hi,I've just upgraded our Commerce Manager and Commerce Manager Core packages from 12.10 to 12.16 and it seems that the column that would normally house the promotional code in the legacy promotion...
View ArticlePutting 2 contentarea side-by-side
Hi, I am new on Episerver. This is my 1st project. I may be asking a very simple question.I am puttting 2 content areas side-by-side.<div class="row">@Html.PropertyFor(x =>...
View ArticleCMS edit pages redirect issue
Hi Team,I have a requirement of displaying child pages into grid format instead of out-of-box content tree structure. So i have implemented the logic in parent page type and getting all children pages...
View ArticlePartialRouter for Simple Address
Hi!I'm quite new to EPi - working about half a year, and most of issues I had, was successfully solved with help of this forum and some EPi related blogs (jondjones; mathiaskunto). This time I'm having...
View ArticleExclude specific catalog entries from a Promotion
Hello everybody,A customer I'm working on has for a while asked us to implement a feature where they can create a promotion, select which content they want to be the condition and then select some...
View Article