coming along
This commit is contained in:
@@ -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([
|
||||
|
||||
@@ -17,7 +17,7 @@ enum CartTypeId: int implements EnumLabelInterface
|
||||
return match($this) {
|
||||
self::Cart => 'Cart',
|
||||
self::Wishlist => 'Wishlist',
|
||||
self::CustomList => 'CustomList'
|
||||
self::CustomList => 'List'
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user