I need to track affiliates' sales using an external affiliate software (AffiliationSoftware). The tracking code they provided works:
HTML Code:
<img src="https://demo.affiliationsoftware.com/tracking?v=%order_subtotal%&o=%order_id%&f=p" alt="" width="1" height="1" style="border:0" />
In the Custom tracking code on Order Confirmation page field, it'is possible to loop all the products, and call the tracking code for each one?
The result should be something like:
HTML Code:
<#list order.items as orderItem> <img src="my-tracking-code?productName=${orderItem.name}&price=${orderItem.price}"> </#list>