Thank you for the research and point into the right direction.
Yes, I could reproduce the problem and found the fix:
In: templates\override\includes\hooks\shop\siteWide\qtPro.php
add in line 66 the array reset:
Code: Select all
$attribute_array = [];
Code: Select all
foreach ($GLOBALS['order']->products as $product) {
$attribute_array = [];
$product_id = Product::build_prid($product['id']);
if (($stock_values = $GLOBALS['db']->query(sprintf($stock_sql, (int)$product_id))->fetch_assoc()) && empty($stock_values['is_virtual'])) {
$stock_left = $stock_values['products_quantity'] - $product['qty'];
Best wishes
Rainer