nicolas wrote:
You can remove the code:
if($product->product_type=='variant' && empty($product->product_name)){
$product = $class->get((int)$element->product_parent_id);
}
in the file components/com_hikashop/controllers/product.php and that will use the product name instead of the variant name.
Sorry, Nicolas. I removed that code from the product.php file, but the subject line still contains the variants not the product name.
I also tried to modify the code to show the line:
About: Product-Name - variants
but I could only get the line to sow the product-ID on the About line.
I find it rather surprising that the message does not contain exactly the same text as is shown in the title of the product page. There is no way, at the moment, to see what page the message was sent from.
The clients really want this, and at the moment I'm stumped.
Jim