Skip to content

Commit

Permalink
trans
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Sep 27, 2023
1 parent 37f5363 commit 7dd5c44
Show file tree
Hide file tree
Showing 5 changed files with 727 additions and 707 deletions.
4 changes: 3 additions & 1 deletion functions/data-request.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,9 @@ function dolicart_request() {
'items' => $result['items'],
'lines' => $result['lines'],
'total' => $result['total']
];
];
$response['modal'] = doliModalTemplate('CartInfos', __( 'Related products', 'doliconnect'), 'Message to do', '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">'.__( "Close", "doliconnect").'</button>');

if ($qty != $result['newqty']) $response['modal'] = doliModalTemplate('CartInfos', __( 'Cart', 'doliconnect'), __( 'This item is not available in this quantity!', 'doliconnect'), '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">'.__( "Continue shopping", "doliconnect").'</button> <a class="btn btn-primary" role="button" href="'.esc_url(doliconnecturl('dolicart')).'" >'.__( 'Finalize the order', 'doliconnect').'</a>', 'modal-lg');
wp_send_json_success($response);
die();
Expand Down
Binary file modified languages/doliconnect-fr_BE.mo
Binary file not shown.
Loading

0 comments on commit 7dd5c44

Please sign in to comment.