check if cart exists before rendering small cart