|
| Dear Ravi:
Thanks for the response. I changed the orderfor.[_shopper_type] to
orderfor.[shopper_type] and dumped the order it does not even shows
orderfor.[shopper_type] I careate it in my basket page
Set Orderform = Server.CreateObject("Commerce.Dictionary")
Orderform.[shopper_type] = "1"
and when in the same page I look for
<%= Orderform.[shopper_type]%> it prints 1 which is the correct value.
Apparently I am not adding orderfor.[_shopper_type] correctly and the
scriptor has no access to this value. Do you have any ideas???
Thanks a lot
"Ravi" wrote:
> Bobby,
> Here are few thing you can try :
> 1) Dump the values to a log file before you call this component and
> make sure you are getting the right value for
> Orderform.[_shopper_type]. There is a Dumporder.vbs file that comes
> with CS2002. You can use this to write log.
> 2) I have done this kind of discount in my projects, but i have put
> this code in Basket pipeline. Try putting it in basket pipeline.
> 3) Create the dictionary variable as Orderform.[shopper_type] instead
> of Orderform.[_shopper_type]. Dont start with underscore character.
>
> Hope this helps,
>
> Regards
>
> Ravi
>
>
|
|