CS2002 - Issue in Using Sale Price
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 > CS2002 - Issue in Using Sale Price




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

    CS2002 - Issue in Using Sale Price  
Ravi Shankar


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


 
08-30-04 10:55 PM

Assuming that Sales Price is a property available for
each product in the catalog...

In the basket pipeline create a component/scriptor
component that would do the evaluation and place the
correct price in the item.[_cy_placed_price] dictionary
key for all the items. the rest would work automatically.

NOTE: The discounts and all would be computed on the
placed price.

HTH
>-----Original Message-----
>Hi,
>
>For our application, we want to use Sale Price, if the
purchase is done
>during the sales dates, otherwise we want to use Default
Price.
>
>We are not able to substitute the Default Price with
Sale Price, hence all
>our Order processing results are wrong.
>
>Can you give a suggestion to handle this ?
>
>Thanks
>
>Joy
>
>.
>





[ Post a follow-up to this message ]



    RE: CS2002 - Issue in Using Sale Price  
Joy Esther


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


 
09-02-04 11:21 PM

Thanks for your reply. We have tried as per your suggestion. The code is as
follows :

Dim myorder As OrderForm
myorder = txContext.Current.CartOrderForm
myorder.LineItems(0).Item("cy_placed_price") = "500"

We have all the items stored in the 'myorder' object.

We have a Default Price and a Sale Price defined for every product in the
Business Desk.

But by default for order total calculation the 'Default Price' is taken
by the Commerce Server.

If we set the cy_placed_price(through code) to a default value, it just
saves and does not use the cy_placed_price for order total calculation.

Please let us if there is anything else we need to do to make the above work
.

Thanks

Joy



"Ravi Shankar" wrote:

> Assuming that Sales Price is a property available for
> each product in the catalog...
>
> In the basket pipeline create a component/scriptor
> component that would do the evaluation and place the
> correct price in the item.[_cy_placed_price] dictionary
> key for all the items. the rest would work automatically.
>
> NOTE: The discounts and all would be computed on the
> placed price.
>
> HTH 
> purchase is done 
> Price. 
> Sale Price, hence all 
>





[ Post a follow-up to this message ]



    RE: CS2002 - Issue in Using Sale Price  
Ravi Shankar


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


 
09-02-04 11:21 PM

I hope the code that you've written is being executed in
the "total" pipeline before the "Order Total Stage" or in
the "basket" pipeline after the "RequiredProductInfo"
stage.

the keys are created here and all components of the
pipeline use these keys subsequently. By the time it
comes into the aspx code the pipeline computation have
been performed and you'd not see any changes.

HTH
>-----Original Message-----
>Thanks for your reply. We have tried as per your
suggestion. The code is as
>follows :
>
>Dim myorder As OrderForm
>myorder = txContext.Current.CartOrderForm
>myorder.LineItems(0).Item("cy_placed_price") = "500"
>
>We have all the items stored in the 'myorder' object.
>
>We have a Default Price and a Sale Price defined for
every product in the
>Business Desk.
>
>But by default for order total calculation the 'Default
Price' is taken
>by the Commerce Server.
>
>If we set the cy_placed_price(through code) to a default
value, it just
>saves and does not use the cy_placed_price for order
total calculation.
>
>Please let us if there is anything else we need to do to
make the above work.
>
>Thanks
>
>Joy
>
>
>
>"Ravi Shankar" wrote:
> 
dictionary[vbcol=seagreen] 
automatically.[vbcol=seagreen] 
the[vbcol=seagreen] 
Default[vbcol=seagreen] 
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:51 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