Re: Pipeline problem with diferent pricing for different customer
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Re: Pipeline problem with diferent pricing for different customer




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Pipeline problem with diferent pricing for different customer  
Ravi Seshadri


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:26 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register