AI OnAI Off
Hi,
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.
Regards.
/Q
I'm using whichever version comes with Quicksilver - thinks it sEPiServer.Commerce 8.15.0.
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 />
<Events>
<add type="Mediachase.Commerce.Catalog.Loggers.CatalogLogger, Mediachase.Commerce" />
</Events>
<SalePriceTypes>
<add key="NewCustomPriceType" value="3" description="New Custom Price Type" />
<add key="JurisdictionGroup" value="4" description="Jurisdiction Group"/>
</SalePriceTypes>
</Catalog>
both in front-end and back-end sites.
Regards.
/Q
Ah - I see.
I was following the tutorial a little too closely:
<SalePriceTypes> <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"/> </SalePriceTypes>
You only need to add the additional/new items!
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:
element - so I assume Commerce has some other default set up for this?
Cheers