cart cpn code
This commit is contained in:
parent
5cd2b174fd
commit
7ce4b3af23
|
|
@ -211,7 +211,7 @@ class Carts extends CartController
|
|||
if ($cart->coupon_code == $couponCode) {
|
||||
return response()->json([
|
||||
'success' => true,
|
||||
'data' => new \TPS\API\Http\Resources\Checkout\CartResource($cart),
|
||||
'data' => new CartResource($cart),
|
||||
'message' => trans('shop::app.checkout.total.success-coupon'),
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue