GetStatus
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
Introduction
In this section, we will go throw an XSL function to get status by trkID.
Parameters
GetStatus uses 2 params to help retrieve trackings in question:
- trkID : tracking ID.
- trackingType: it refers to the type of tracking wanted. (eg : order , product, baseArticle ...)
Uses
We suppose that we have a tracking type named Product. It has 3 data (Name, Brand, and Country).
if we want to get status of a product with trkID = '632061e5f8aef457701a28d3'
<xsl:value-of select="ixf:GetStatus('632061e5f8aef457701a28d3', 'Product')"></xsl:value-of>