Hello, In cart db I have weight, can I get this attribute from cart?
I tried this function in toArray
$data['payment'] = $cart->payment->toArray(); $data['items'] = $cart->items->toArray(); $data['weight'] = $cart->weight->toArray();
For example for address I have $cart->shipping_address
But for weight exist?
Please give me some advice on how to proceed