Can I add custom var to each ecommerce items

I just read Custom Variables Analytics - Analytics Platform - Matomo but no about this features

I want to use custom var like this

_paq.push([‘addEcommerceItem’,

                    '9780786706211', //  SKU
                    'Iphone 5S', //  Product name
                    'Electronic', // Product category.
                    600, // Product price
                    1 // Product quantity

‘Mobile’, // Sub Category 1
’Ios Device’ // Sub Category 2
’USD’ // Currency

]);

See the bold text, I want to add this var in each item. But no feature supported.

Thank you.

This is not supported yet. Why do you need this feature? Have you tried tracking hte sub category 1 and 2 as “product categories” (you can pass it an array)

thanks for quick res !

I will try this solution.