-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.6
Hi,
I'm trying to create a very stripped down version of the order creation email in plain text.
Now I would like to add a field to the row with the product lines.
This field is a custom field that is in the products and is called "gewichtsklasse". It's only visible in the backend.
I've been reading and tried something like this:
echo $data->cart->gewichtsklasse."\n";
But no luck yet. The line it should be appended to is now looking like this :
<?php
foreach($data->cart->products as $item){
$price = $item->order_product_price*$item->order_product_quantity;
echo strip_tags($item->order_product_name) . "|" . $currencyHelper->format($item->order_product_price,$data->order_currency_id)."|".$item->order_product_quantity."|".$currencyHelper->format($price,$data->order_currency_id)."\n";
}
Thanks for any help.