So in the minicart template in web/template/minicart/item/default.html you have the following code:
<a data-bind="attr: {href: product_url, title: product_name}, text: product_name"></a>
What I want to do is add a custom product attribute to this, as well as maybe some default existing ones such as weight for example.
I know how the template can be modified to display the data I'm just not sure how i can assign custom data to the KO js var I need.
Thanks