feat(main): Task #5 is done

This commit is contained in:
2026-06-22 14:27:47 +02:00
parent 649bf62430
commit 06a860cdd0
9 changed files with 235 additions and 4 deletions
+1 -2
View File
@@ -2,7 +2,6 @@
use Websmid\GiftDropdown\Config\Config;
use Configuration;
use Context;
use Db;
use Tools;
@@ -31,7 +30,7 @@ class Ws_GiftDropdownSavepaperModuleFrontController extends ModuleFrontControlle
exit;
}
$idCart = (int) Context::getContext()->cart->id;
$idCart = (int) $this->context->cart->id;
if (!$idCart) {
$this->ajaxRender(json_encode(['success' => false, 'error' => 'No cart']));