Commerce Server General - Handling Charges

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > August 2006 > Handling Charges





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Handling Charges
kirk

2006-07-29, 7:23 am

In my total pipeline is a section on Handling. It looks like this would
calculate any handling charges applied to the order. My question is, how does
one add handling charges. We would like to add an additional $10 handling
charge to all orders that ship to Hawaii or Alaska. I could add shipping
methods to do this but then would require the user to actually select the
proper shipping method for there state. After looking at the pipeline and
seeing the handling section I figured there must be a way to add a handling
charge to the sytem. ANy hints, pointers, direction would be appreciated.

Thanks

Kirk
Nihit Kaul [MSFT]

2006-08-09, 1:21 am

You can add a custom pipeline component (such as a scriptor component) which would look up the shipment state and accordingly add a handling charge.

For e.g. the scriptor code would look like (doesn't include any logic to look up the state etc.):

dim handlingTotalKey, value1

handlingTotalKey = "_cy_handling_total"
value1 = CCur(4.893)

orderform.value(handlingTotalKey) = value1

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: Handling Charges
thread-index: Acayd8BdfK/k2ECyQMqxlz4nZoML6Q==
X-WBNR-Posting-Host: 216.100.160.3
From: =?Utf-8?B?a2lyaw==?= <kirksmithson_nospam@hotmail.com>
Subject: Handling Charges
Date: Fri, 28 Jul 2006 11:58:02 -0700
Lines: 12
Message-ID: <F6331505-0FD9-4B12-A5ED-7F6C0CEECE90@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.1830
Newsgroups: microsoft.public.commerceserver.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:18066
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.commerceserver.general

In my total pipeline is a section on Handling. It looks like this would
calculate any handling charges applied to the order. My question is, how does
one add handling charges. We would like to add an additional $10 handling
charge to all orders that ship to Hawaii or Alaska. I could add shipping
methods to do this but then would require the user to actually select the
proper shipping method for there state. After looking at the pipeline and
seeing the handling section I figured there must be a way to add a handling
charge to the sytem. ANy hints, pointers, direction would be appreciated.

Thanks

Kirk


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com