Bonjour,
Ajoutez le code:
if($config->get('group_options',0)){
foreach($order->cart->products as $k => $product){
if(!empty($product->order_product_option_parent_id)){
foreach($order->cart->products as $k2 => $product2){
if($product->order_product_option_parent_id == $product2->order_product_id){
$product2->order_product_price += $product->order_product_price;
$product2->order_product_tax += $product->order_product_tax;
$product2->order_product_total_price_no_vat += $product->order_product_total_price_no_vat;
$product2->order_product_total_price += $product->order_product_total_price;
}
}
}
}
}
avant le code:
$currencyClass = hikashop_get('class.currency');
$currencyClass->calculateTotal($order->cart->products, $order->cart->total, $order->order_currency_id);
dans le fichier components/com_hikashop/controllers/order.php et cela devrait corriger le problème.