coming along

This commit is contained in:
2025-10-11 21:46:16 -07:00
parent 59478fab17
commit 7d219d045a
7 changed files with 94 additions and 8 deletions

View File

@@ -66,7 +66,6 @@ class CartItemsController extends AppController
}
// Log::debug(print_r('$newCartItem->getErrors()', true));
// Log::debug(print_r($newCartItem->getErrors(), true));
dd(print_r($newCartItem->getErrors(), true));
$this->Flash->error('Failed to add to cart.');
return $this->redirect($this->referer([

View File

@@ -17,7 +17,7 @@ enum CartTypeId: int implements EnumLabelInterface
return match($this) {
self::Cart => 'Cart',
self::Wishlist => 'Wishlist',
self::CustomList => 'CustomList'
self::CustomList => 'List'
};
}
}