Commerce Server General - Re: Pipeline problem with diferent pricing for different customer

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > March 2005 > Re: Pipeline problem with diferent pricing for different customer





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 Re: Pipeline problem with diferent pricing for different customer
Ravi

2005-03-24, 5:50 pm

Bobby,
Are you using asp or asp.net ?
In asp.net this is how i set a custom value in the order form :

txContext.CartOrderForm.Item("GIFT_MESSAGE") =3D txtGiftMessage.Text.Trim

where CartOrderform is the object that gets created when you add item
to the basket. The pipeline receives this object and reads the value.
In your code you have mentioned
Set Orderform =3D Server.CreateObject("Commerce.=ADDictionary")
Orderform.[shopper_type] =3D "1"
Is this the object (Orderform) that you are passing in the Pipeline ?
If you are using asp, then there must be some place where the orderform
object gets created and there the values will be set. I think it is
mscsOrderForm. You have to look for this object and add your custom key
(shopper_type) and value (1). If you cannot figure it out, send me the
code and i will let you know what object you should use. Or you can
search for 'mscsOrderForm' in Utils.asp.

Hope this helps,

Regards

Ravi

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com