customizing pur_badplacedprice message
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 > customizing pur_badplacedprice message




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

    customizing pur_badplacedprice message  
Jason


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


 
05-09-05 10:50 PM

Is there an easy way that I can give specific product info in the
pur_badplacedprice error message.  If the price changes in the pipeline, I
need to say something like "The price for <product description> has changed.
"
instead of some generic message like "The price for one of your products has
changed.".  Any ideas?

Thanks,
Jason





[ Post a follow-up to this message ]



    RE: customizing pur_badplacedprice message  
Ravi Shankar


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


 
05-12-05 07:55 AM

Hi Jason,

This message is created by the "RequiredItemAdjustCy" pipeline component
which compares the placed price with the current price (the documentation
describes the exact mechanism) and in case of a mismatch puts the
"pur_badplacedprice" key into the _Basket_Errors dictionary.

To acheive what you want, you could firstly change the message in the site
XML files to include a placeholder. Secondly you'll need to create a similar
pipeline component which duplicates the "RequiredItemAdjustCy" functionality
.
The only difference would be where the supplied pipeline component adds the
message, you'd have to process the message (which is parametrised now) and
incorporate the SKU or Product Name or whatever in the message before storin
g
the message into the _Basket_Errors dictionary.

Regards.

"Jason" wrote:

> Is there an easy way that I can give specific product info in the
> pur_badplacedprice error message.  If the price changes in the pipeline, I
> need to say something like "The price for <product description> has change
d."
> instead of some generic message like "The price for one of your products h
as
> changed.".  Any ideas?
>
> Thanks,
> Jason





[ Post a follow-up to this message ]



    Sponsored Links  




 





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