03-29-05 11:18 PM
Bobby,
I don't know how you have written the code in the scriptor. But it
should look some thing like this :
for each item in orderform.items
If item.[discount] = 2 Then
item.[_product_list_price] = item .[_product _list _price] * .8
Elseif item.[discount] = 3 Then
item.[_product_list_price] = item .[_product _list _price] * .75
Elseif item.[discount] = 4 Then
item.[_product_list_price] = item .[_product _list _price] * .72
Else
item.[_product_list_price] = item .[_product _list _price]
End if
next
And i assume that shopper_type value is going to be in order level. If
so, write another if condition and check the shopper_type value and
repeat this for loops inside the if conditions.
Regards
Ravi
[ Post a follow-up to this message ]
|