Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Complex Shipping Discount

2 views
Skip to first unread message

kheard

unread,
Oct 3, 2007, 5:45:01 PM10/3/07
to
Folks –

Anyone ever implement a complex shipping promotion like this before:

How do set up a complex shipping discount scenario: If the order exceeds
$250 and a certain promotion code is entered, give free shipping for
"standard" shipping method ONLY.

I have been trying to come up with a creative way to do this, but nothing
has been viable so far.

Thoughts?

kheard

unread,
Oct 4, 2007, 9:03:08 AM10/4/07
to
Easier than I thought:

Add the currently selected shipping method as a property on the targeting
context profile and using this in the discount eligibility expression.

Michael Brown

unread,
Nov 19, 2007, 11:03:41 AM11/19/07
to
Would you (or someone else) please explain this in detail? We've recently
installed Commerce Server 2007 and I'm attempting to setup a shipping
discount that applies to one shipping method only.

-thanks, Michael

On 10/4/07 7:03 AM, in article
038AD3A0-19BA-45ED...@microsoft.com, "kheard"

Kelly Andrew Heard

unread,
Nov 19, 2007, 11:19:03 AM11/19/07
to
Michael -

When editing/managing your profiles there is a profile called Targeting
Context. Add a custom attribute to this profile, say, ShippingMethod. In
your checkout process (the shipping method page), assign the selected
shipping method to your custom targeting context property.

On the discount side, when creating your award, target the specific shipping
method you are looking for.

When the discount pipeline is run, it will detect that your shipping method
has been selected and apply the discount.

Hope that helps.

--
Cheers!

Michael Brown

unread,
Nov 19, 2007, 12:39:44 PM11/19/07
to
Thanks, that was very helpful.

The first part and last part are very clear, however, I'm not sure about:

"In your checkout process (the shipping method page), assign the selected
shipping method to your custom targeting context property."

I'd imagine this may be a little function that would need to be added,
correct? Or is it more simpler than that?

Thanks for any assistance!


On 11/19/07 10:19 AM, in article
B8049ED2-A842-4B53...@microsoft.com, "Kelly Andrew Heard"

Kelly Andrew Heard

unread,
Nov 19, 2007, 12:58:01 PM11/19/07
to
Yes, you are correct. It'd be some simple piece of code in your page that
sets the shipping method in the targeting context.

Michael Brown

unread,
Nov 19, 2007, 2:20:35 PM11/19/07
to
Is it too much to ask for a code snippet? Everything I try fails.


On 11/19/07 11:58 AM, in article
A521D793-5B4B-4FFA...@microsoft.com, "Kelly Andrew Heard"

0 new messages