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 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?
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.
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 :)";
"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
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
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
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.
Hi Søren
Thanks much for the answer, its good to get this confirmed.
Thanks you both for the replies!
Antonio, did you find a way to supress / change the message? Can you please share?
Soren, anywither way than to use locale?
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.
Hope this helps.
is working on a reply...