From b0be6451c07718d4beaf6d74b71aebd87669ea28 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 27 Sep 2023 23:37:30 +0200 Subject: [PATCH] Update data-request.php --- functions/data-request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/data-request.php b/functions/data-request.php index fcb3e0ea..5d29b209 100644 --- a/functions/data-request.php +++ b/functions/data-request.php @@ -813,7 +813,7 @@ function dolicart_request() { ]; if ($qty != $result['newqty']) { $response['modal'] = doliModalTemplate('CartInfos', __( 'Cart', 'doliconnect'), __( 'This item is not available in this quantity!', 'doliconnect'), ' '.__( 'Finalize the order', 'doliconnect').'', 'modal-lg'); } - elseif (doliCheckModules('relatedproducts') && doliCheckRelatedProducts($product->id)) { $response['modal'] = doliModalTemplate('CartInfos', __( 'Related products', 'doliconnect'), doliRelatedProducts($product->id), '', 'modal-lg'); } + elseif (doliCheckModules('relatedproducts') && doliCheckRelatedProducts($product->id)) { $response['modal'] = doliModalTemplate('CartInfos', __( 'Related products', 'doliconnect'), doliRelatedProducts($product->id), '', 'modal-lg', null, 'p-0'); } wp_send_json_success($response); die(); } elseif (isset($_POST['modify']) && ($_POST['modify'] == "wish" || $_POST['modify'] == "unwish")) {