Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Antonio Amézquita 35 posts 52 karma points
    Aug 05, 2010 @ 17:07
    Antonio Amézquita
    0

    "The pipeline executed succesfully." Where can I find this value?

    Hi

    I just got the demo store working and just would like to change the confirmation  text:

    "The pipeline executed succesfully."

    Any ideas where is it?

     

    Would appreciate any help!

    Antonio

     

  • AndyDavidson 6 posts 26 karma points
    Aug 05, 2010 @ 19:14
    AndyDavidson
    0

    Hi Antonio,

    as i understand is the text is coming from the macro Submitbasket[xslt]

    within the macro the following line..

     <xsl:value-of select="CommerceLibrary:ExecuteBasketPipeline()"></xsl:value-of>

    calls the executebasketpipeline method and then renders the response from the method, I had a look in both the basket and the checkout pipeline config files but couldn't find a reference to the string you want to change, so maybe it is not possible to change it.

    however you could choose not to render that string as your success message and instead handle the return value from the call and render any message you see fit

    i hope that helps

    Andy

     

     

  • Antonio Amézquita 35 posts 52 karma points
    Aug 05, 2010 @ 21:24
    Antonio Amézquita
    0

    Hi Andy

    Thanks for your reply, appreciate much your help!

    I also checked on both the basket and the checkout pipeline config files without finding the value, so yes it may be that it cant be changed.

    Sounds like a good solution, but don´t know how to do that: "choose not to render that string as your success message and instead handle the return value from the call and render any message you see fit" 

    could you please tell me how would you do it, jQuery?

     

    Thanks much!

    Antonio

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 09, 2010 @ 19:30
    Søren Spelling Lund
    0

    The string will only contain one of three values once pipeline execution is complete:

    1) "The pipeline executed succesfully."

    2) "The pipeline has been executed, but with warnings."

    3) "Pipeline execution error. Pipeline: '{0}'" which includes the .NET stack trace.

    As it stands today you can't change the values. The return values are localized and will change based on the locale set on the server if your locale is supported by uCommerce.

  • Antonio Amézquita 35 posts 52 karma points
    Aug 09, 2010 @ 21:10
    Antonio Amézquita
    0

    Hi Søren

    Thanks much for the answer, its good to get this confirmed.

    Thanks you both for the replies!

     

  • Nauman 98 posts 118 karma points
    Sep 14, 2010 @ 12:53
    Nauman
    0

    Antonio, did you find a way to supress / change the message? Can you please share?

    Soren, anywither way than to use locale?

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 14, 2010 @ 15:23
    Søren Spelling Lund
    0

    Hi Nauman,

    If you need to pass custom messages from the pipeline you can use the dynamic order properties to do so. Just set it on your purchase order during pipeline execution and read it in the event of an error.

    purchaseOrder["message"] = "hello from the pipeline :)";

    Hope this helps.

Please Sign in or register to post replies

Write your reply to:

Draft