nicolas wrote: It's more complex:
$productClass = hikashop_get('class.product');
$productData = $productClass->get($product->product_id);
$categoryClass = hikashop_get('class.category');
$category = $categoryClass->get($productData->product_manufacturer_id);
echo $category->category_name;
Note: Hikashop version: 2.6
OK this works fine, but I have a little problem.
When the products has Characteristics/with variants the brand name does not display.
When the product has no variants the brand name display's just fine.
In the product with variants I use different product codes. i.e:
Original product code: 660021_01
Variant a product code: 660021
Variant b product code: 660022
The invoice is displaying the correct product code, but I am missing the brand name with the products with "variants"
Any advice ?