tracking - SetTrkLink

Page / - last modified by Outhman Moustaghfir on 2023/05/19 17:19

SetTrkLink

last modified by Outhman Moustaghfir

on 2023/05/19 17:19

Table of Contents

Introduction

Parameters

Uses

Introduction

In this section, we will describe another XSLT function that links between 2 tracking.

Parameters

SetTrkLink uses 6 params:

trackingType: it refers to the type of tracking wanted. (eg : order , product, baseArticle ...)

trkID : tracking ID.

trackingTypeCible: its type.

trkIDCible :the tracking to be linked.

Uses

We suppose that we have a tracking type named Product. It has 3 data (Name, Brand, and Country).

if we want to link a product with trkID = '632061e5f8aef457701a28d3' to a tracking parent like 'Company' ( trkID = "632061e5f8aef457701aa123") :

<xsl:value-of select="ixf:SetTrkLink('Product', '632061e5f8aef457701a28d3' , 'Company', '632061e5f8aef457701aa123')"></xsl:value-of>