tracking - GetStatus

Page / - last modified by Outhman Moustaghfir on 2024/02/21 10:50

GetStatus

last modified by Outhman Moustaghfir

on 2024/02/21 10:50

Table of Contents

Introduction

Parameters

Uses

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>