Skip to content

Commit

Permalink
Added language definition
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jan 1, 2025
1 parent 44d9172 commit 2c4a672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/checkout/cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public function remove(): void {
}

if (!$this->cart->has($key)) {
$json['error'] = $this->language->get('error_product');
$json['error'] = $this->language->get('error_product_not_found');
}

// Remove
Expand Down
1 change: 1 addition & 0 deletions upload/catalog/language/en-gb/checkout/cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@
$_['error_minimum'] = 'Minimum order amount for %s is %s!';
$_['error_required'] = '%s required!';
$_['error_product'] = 'Warning: There are no products in your cart!';
$_['error_product_not_found'] = 'Warning: Product could not be found!';
$_['error_subscription'] = 'Please select a subscription plan!';

0 comments on commit 2c4a672

Please sign in to comment.