Remove isBookingProduct usage and optimize related logic

This commit is contained in:
Aman deep sharma
2025-06-20 15:39:19 +05:30
parent 356cd1f569
commit f0eac28b42
4 changed files with 87 additions and 55 deletions

View File

@@ -1571,6 +1571,12 @@ abstract class PaymentModuleCore extends Module
}
}
}
/**
* This function is not being called because taxes are already saved correctly.
* The issue lies only in displaying the tax breakdown.
*
* $order->updateOrderDetailTax();
*/
} else {
$error = Tools::displayError('Order creation failed');
PrestaShopLogger::addLog($error, 4, '0000002', 'Cart', intval($order->id_cart));