Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Sale Type


Playing with the Quicksilver MVC reference project and following the instructions on pricing on World, I've noticed that after I add the new sales type, selecting Customer Price Group no longer AJAX's in the list of Contact Groups.

If I take out the XML, the three default types remain and selecting Customer Price Group does load a second Contact Group drop-down:

Two questions:

  • Is that a bug or what?!
  • The original ecf.catalog.config fiel didn't have any

     element - so I assume Commerce has some other default set up for this?


Jul 31, 2015 10:08


Which version are you on?

The behaviour you mentioned is wrong, but I'm not sure it's a bug a a mis-configuration. Btw, you'll have to change ecf.catalog.config in both front-end and back-end sites.

We added back the configuration for ecf.catalog.config because some customers asked for it - that why the original setting (from 7.5) has nothing.



Jul 31, 2015 14:51

I'm using whichever version comes with Quicksilver - thinks it sEPiServer.Commerce 8.15.0.

Jul 31, 2015 15:10

I just tried on Quicksilver - it works as expected.

My ecf.catalog.config:

<?xml version="1.0"?>
<Catalog autoConfigure="true">
  <Connection connectionStringName="EcfSqlConnection" />
  <Cache enabled="true" collectionTimeout="0:15:0" entryTimeout="0:15:0" nodeTimeout="0:15:0" schemaTimeout="0:15:0" />
  <Encoding imageQualityPercentage="80" defaultFormat="jPeg" />
  <Roles />
    <add type="Mediachase.Commerce.Catalog.Loggers.CatalogLogger, Mediachase.Commerce" />
<add key="NewCustomPriceType" value="3" description="New Custom Price Type" />
<add key="JurisdictionGroup" value="4" description="Jurisdiction Group"/>

both in front-end and back-end sites.



Jul 31, 2015 16:36

Ah - I see.

I was following the tutorial a little too closely:

<add key="AllCustomers" value="0" description="All Customers" />
<add key="Customer" value="1" description="Customer"/>
<add key="CustomerPriceGroup" value="2" description="Customer Price Group"/>
<add key="JurisdictionGroup" value="3" description="Jurisdiction Group"/>

You only need to add the additional/new items!

Edited, Jul 31, 2015 17:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.