Changes for page SetStatus
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
<
edited by Outhman Moustaghfir
on 2022/09/21 16:03
on 2022/09/21 16:03
edited by Outhman Moustaghfir
on 2024/02/26 17:12
on 2024/02/26 17:12
Change comment:
Update document after refactoring.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -iXPath V3.Func itons.WebHome1 +iXPath V3.Functions.XSLT .tracking.WebHome - Content
-
... ... @@ -1,15 +1,15 @@ 1 1 = Introduction = 2 2 3 -In this section, we will go throw an XSL function to get statusbytrkID.3 +In this section, we will go throw an XSL function to set the status of certain tracking. 4 4 5 5 = Parameters = 6 6 7 - GetStatus uses 4 params to help retrieve trackings in question:7 +SetStatus uses 4 params to help retrieve trackings in question: 8 8 9 9 1. trkID : tracking ID. 10 -1. trackingType: it refers to type of tracking wanted. (eg : order , product, baseArticle ...) 10 +1. trackingType: it refers to the type of tracking wanted. (eg : order , product, baseArticle ...) 11 11 1. status: the status to update 12 -1. echo Output: boolean optional param, that returns the value of 'status' when true. 12 +1. echo Output: boolean optional param, that returns the value of 'status' when true. the default value is false. 13 13 14 14 = Uses = 15 15 ... ... @@ -18,7 +18,5 @@ 18 18 eg. if we want to set status of a product with trkID = '632061e5f8aef457701a28d3' to 'Delivered' : 19 19 20 20 {{code language="XML"}} 21 -<xsl:value-of select="ixf:SetStatus('632061e5f8aef457701a28d3', 'Product' , 'Delivered')"/> 21 +<xsl:value-of select="ixf:SetStatus('632061e5f8aef457701a28d3', 'Product' , 'Delivered')"></xsl:value-of> 22 22 {{/code}} 23 - 24 -