London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Sale Type

Vote:
 

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?

Cheers

#131618
Jul 31, 2015 10:08
Vote:
 

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

#131635
Jul 31, 2015 14:51
Vote:
 

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

#131636
Jul 31, 2015 15:10
Vote:
 

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

#131641
Jul 31, 2015 16:36
Vote:
 

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!

#131644
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.