Quantcast
Channel: Developer to developer
Browsing all 9076 articles
Browse latest View live

If 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 Article


Convert 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 Article


Custom 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 Article

ContentResultService is executed instead of the injected one

I'm strugling with super weird issue. I wanted to test an example from...

View Article

Exception 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 Article


Update 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

Putting 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 Article

Image may be NSFW.
Clik here to view.

Cannot 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 Article


CMS 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 Article


PartialRouter 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 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 Article

Image may be NSFW.
Clik here to view.

Exclude 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

EPiServer.CMS.UI 11.14.0 Cannot Read Property "ContentData" of Null error

I got this same error after updating to EPiServer.CMS.UI 11.14.0.  It is preventing the publish menu from dropping down...

View Article


Suspicious 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 Article

Invalid cast in Commerce Manager after update from 11.2.5 to 11.8.5

Hi all,After upgrading from Commerce 11.2.5 to 11.8.5, which should not contain any breaking change, we get the following error in Commerce Manager when trying to create a return. Anyone seen this...

View Article


Null exception in commerce controller

I am trying to create controller fro commerce as explained in the link below. However, I am getting NULL exception in the parameter of action. e.g. currentContent is null inpublic class...

View Article

Promotions : excluding certain line items from promotions

Hello everybody, I have a requirement on a project I'm working on whereby pricing information for products can be pulled in one of two ways:Via a list price configured in EPi itselfVia a "special"...

View Article


how the order promotion is applied?

Hi Team,I have created order promotion(spend 500 get 5% off), item promotion(buy 20 item get 28% off) and both promotions are applied to one order.case1: order promotion as a high priority.I got the...

View Article

Server rendering HTML with Javascript

It gets more and more popular for every day to render HTML with JavaScript libraries such as Knockout, React, Angular, etc. It's also getting more popular and viable to execute that JavaScript on the...

View Article

Possible to hide block header?

When using a block as a property for a page or another block. Is it possible to hide the header so that the block appears like a just a list of properties?At the moment I have a blocktype called...

View Article
Browsing all 9076 articles
Browse latest View live