diff --git a/packages/Webkul/Shop/src/Http/Resources/CartItemResource.php b/packages/Webkul/Shop/src/Http/Resources/CartItemResource.php index 0cd5faa3b83..212d1103321 100644 --- a/packages/Webkul/Shop/src/Http/Resources/CartItemResource.php +++ b/packages/Webkul/Shop/src/Http/Resources/CartItemResource.php @@ -23,7 +23,7 @@ public function toArray($request) 'formatted_price' => core()->formatPrice($this->price), 'total' => $this->total, 'formatted_total' => core()->formatPrice($this->total), - 'options' => $this->additional, + 'options' => $this->resource->additional['attributes'] ?? [], 'base_image' => $this->product->getTypeInstance()->getBaseImage($this) ]; } diff --git a/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php b/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php index 665a40e2aa0..903f159c61d 100755 --- a/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php @@ -84,13 +84,31 @@ class="text-[16px] font-medium" v-text="item.name" >
+ ++ @{{ option.attribute_name + ':' }} +
+ ++ @{{ option.option_label }} +
+