I have code on our eCommerce site that creates an array for the product(s) that are being purchased, it runs through a for-each loop and adds the following to an array for each product, which is sent to SiteCatalyst:
[category,sku,quantity,price]
I am taking this code and trying to re-purpose it using Tealium and the eCommerce extension. My question is how does the eCommerce extension create the array it uses for products and what changes (if any) do I need to make to the way my code gathers the product data? Should I be making an array of just category, then just skus, the just prices...etc?