groupby color
This commit is contained in:
parent
b8bb9ef646
commit
22113b75c7
|
|
@ -84,7 +84,7 @@ class Checkout extends CheckoutController
|
|||
if (Cart::hasError() || ! $payment || ! Cart::savePaymentMethod($payment)) {
|
||||
return response([
|
||||
'success' => false,
|
||||
'message' => 'Payment unsuccessfull'
|
||||
'message' => 'Payment unsuccessful'
|
||||
|
||||
],400);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class Attribute extends JsonResource
|
|||
return [
|
||||
'id' => $this->id,
|
||||
'code' => $this->code,
|
||||
'name' => $this->name,
|
||||
'name' => $this->name ?? $this->admin_name,
|
||||
'options' => AttributeOption::collection($this->options),
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue