Get Product Free
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Content Selection Framework > Get Product Free




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Get Product Free  
M


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 12:49 PM

Hi,

I would like to add a campaign whereby a customer can buy any 3 products and
get 1 free.  The catch is that the Free product should be the cheapest one.

Can this be done?

Thanks
Mat





[ Post a follow-up to this message ]



    RE: Get Product Free  
David Messner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:51 PM

There is a global setting you can make on OrderDiscount pipeline component.
Open it in pipeline editor and right click the component and select
properties.  Change the setting for the discount application from most
expensive to least expensive.

From the docs on OrderDiscount:
Apply discount to basket items Select Least expensive first to apply
discounts to the least expensive items in the basket first.
Select Most expensive first to apply discounts to the most expensive items
in the basket first.

Note, this applies to CS2002 only, CS2000 doesn't have this option.  This
change then applies to all discounts.

-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation.  All rights
reserved.

--------------------
Thread-Topic: Get Product Free
thread-index: AcTnVrKYsJhHO7tgTB+TLKGcT4V03A==
X-WBNR-Posting-Host: 82.68.68.17
From: "examnotes" <M@discussions.microsoft.com>
Subject: Get Product Free
Date: Tue, 21 Dec 2004 04:15:02 -0800
Lines: 9
Message-ID: <8D895B10-4CF7-4B24-BFBB-5352A79A456F@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2929
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

Hi,

I would like to add a campaign whereby a customer can buy any 3 products
and
get 1 free.  The catch is that the Free product should be the cheapest one.

Can this be done?

Thanks
Mat






[ Post a follow-up to this message ]



    RE: Get Product Free  
M


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-11-05 12:50 PM

Hi David,

I have tried setting as you describe, however, I still end up with most
expensive as the free item whichever way it is set.

Is there anything else than can affect getting the cheapest free?

Mat

"David Messner [MSFT]" wrote:

> There is a global setting you can make on OrderDiscount pipeline component
.
>  Open it in pipeline editor and right click the component and select
> properties.  Change the setting for the discount application from most
> expensive to least expensive.
>
> From the docs on OrderDiscount:
> Apply discount to basket items Select Least expensive first to apply
> discounts to the least expensive items in the basket first.
> Select Most expensive first to apply discounts to the most expensive items
> in the basket first.
>
> Note, this applies to CS2002 only, CS2000 doesn't have this option.  This
> change then applies to all discounts.
>
> -djm
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> You assume all risk for your use. © 2004 Microsoft Corporation.  All righ
ts
> reserved.
>
> --------------------
> Thread-Topic: Get Product Free
> thread-index: AcTnVrKYsJhHO7tgTB+TLKGcT4V03A==
> X-WBNR-Posting-Host: 82.68.68.17
> From: "examnotes" <M@discussions.microsoft.com>
> Subject: Get Product Free
> Date: Tue, 21 Dec 2004 04:15:02 -0800
> Lines: 9
> Message-ID: <8D895B10-4CF7-4B24-BFBB-5352A79A456F@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> 	charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.commerceserver.campaigns_csf
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path:
> cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGX
A0
> 3.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.commerceserver.campaigns_csf:2929
> X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
>
> Hi,
>
> I would like to add a campaign whereby a customer can buy any 3 products
> and
> get 1 free.  The catch is that the Free product should be the cheapest one
.
>
> Can this be done?
>
> Thanks
> Mat
>





[ Post a follow-up to this message ]



    RE: Get Product Free  
David Messner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-13-05 10:51 PM

There are three sorts used by the OrderDiscount engine:

* ITEM_SORT_PQBI => Sort decreasing by price first, decreasing by
quantity second and increasing by basket index third.
* ITEM_SORT_CONDITION_AND_AWARD_LAST => Items that are in BOTH the
condition set and award are sorted to the end (used last).  Otherwise
follows the PQBI sort defined above.
* ITEM_SORT_PRICE_INCREASE => Sort increasing by price first,
decreasing by quantity second and increasing by basket index third.

The condition sort is always ITEM_SORT_CONDITION_AND_AWARD_LAST (there is
an advanced means of changing it by adding a column to the discount cache -
see below).  The award sort is selected from the property page between the
other two, the default being most expensive first or ITEM_SORT_PQBI
(benefits the customer, maximizing the discount if % off).

Are you on the latest service pack?  I seem to remember an issue related to
the default in the PCF file being wrong - please try toggling the selection
for award sort, saving the PCF file, and then toggling it back and saving
it again.  Be sure to IISReset after the PCF change so you are sure it is
picked up.

Changing the condition sort (advanced): This is done by getting a column
added to the discount cache (ContentListFactory object) called
'condition_sort'.  If present, it will override the default.   Any other
value is undefined - here are the valid ones:

ITEM_SORT_PQBI = 0,
ITEM_SORT_CONDITION_AND_AWARD_LAST = 2,
ITEM_SORT_PQBI_PRICE_INCREASE = 3

See the CSFLoadDiscounts (MarketingLoadDiscounts in FP1) component
documentation for information on how to override the query (cs2002) or
sproc (FP1).  Be sure you have the latest doc refresh from the Web - this
doc info was missing at CS2002 RTM.

Finally, please use pipeline logging with the discount tracing enabled to
help you troubleshoot if you still have issues.  Set
context.[_trace_discounts] = true in the pipeline context to enable
discount tracing - it will write out an additional string into the
dictionary tracing through the algorithm.

Hope that helps!  I'll work with UE to get all this documented more clearly
in the next release.
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation.  All rights
reserved.

--------------------
Thread-Topic: Get Product Free
thread-index: AcT3zjwDHj8MetTMQ7C2idJ/u1q3qg==
X-WBNR-Posting-Host: 82.68.68.17
From: "examnotes" <M@discussions.microsoft.com>
References:  <8D895B10-4CF7-4B24-BFBB-5352A79A456F@microsoft.com>
<NwPXPF55EHA.2768@cpmsftngxa10.phx.gbl>
Subject: RE: Get Product Free
Date: Tue, 11 Jan 2005 03:11:01 -0800
Lines: 69
Message-ID: <08EFF9A7-2DC9-4593-B8C7-A9D0F33B2120@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2982
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

Hi David,

I have tried setting as you describe, however, I still end up with most
expensive as the free item whichever way it is set.

Is there anything else than can affect getting the cheapest free?

Mat

"David Messner [MSFT]" wrote:

> There is a global setting you can make on OrderDiscount pipeline
component.
>  Open it in pipeline editor and right click the component and select
> properties.  Change the setting for the discount application from most
> expensive to least expensive.
>
> From the docs on OrderDiscount:
> Apply discount to basket items Select Least expensive first to apply
> discounts to the least expensive items in the basket first.
> Select Most expensive first to apply discounts to the most expensive
items
> in the basket first.
>
> Note, this applies to CS2002 only, CS2000 doesn't have this option.  This
> change then applies to all discounts.
>
> -djm
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use. © 2004 Microsoft Corporation.  All
rights
> reserved.
>
> --------------------
> Thread-Topic: Get Product Free
> thread-index: AcTnVrKYsJhHO7tgTB+TLKGcT4V03A==
> X-WBNR-Posting-Host: 82.68.68.17
> From: "examnotes" <M@discussions.microsoft.com>
> Subject: Get Product Free
> Date: Tue, 21 Dec 2004 04:15:02 -0800
> Lines: 9
> Message-ID: <8D895B10-4CF7-4B24-BFBB-5352A79A456F@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> 	charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.commerceserver.campaigns_csf
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path:
>
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
> 3.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.commerceserver.campaigns_csf:2929
> X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
>
> Hi,
>
> I would like to add a campaign whereby a customer can buy any 3 products
> and
> get 1 free.  The catch is that the Free product should be the cheapest
one.
>
> Can this be done?
>
> Thanks
> Mat
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register