I've created a Product called Sugar and entered this as the Field Label for that product. I've then defined different weights with a multiple Drop Down option i.e. 250g, 500g, 1kg, etc and given each weight a price.
I then use a Quantity field below it so people can choose the quantity of the weight they have defined above. i.e. 5 x 250g with a Total field below it.
This all works as it should.
However, when the form is completed it sends the email Notification using the {all_fields} shortcode to the defined email addresses but under the Product section of the email notification it only ever shows the drop down Option that was selected i.e. 250g, 500g with no indication of what Product this option was selected for.
A quick fix would be to hack the code and put the Product Field Label before the Option Name that was selected so the product field would look something like "Sugar - 500g".
A more complex fix would be to separate the Product list into separate sections i.e. one for each product which shows the Field Label for the product and underneath it shows the option that was selected for the that Product where as the Qty, Unit Price and Totals can remain the same.
Can anyone help at least with the Quick Fix? I've tried hacking the code but to no avail yet as I can't seem to find the right variable to put in front of esc_html($product["name"]) in common.php (Line 950) which determins what info is placed in the email notifications.
Thanks in advanced :)