Sylius/SyliusCartBundle — pull request #32 by rubas (2013-03-03 12:16:05+00:00)
Title: add check if cart exists without creating a new one

Normally you have some sort of small basket overview on every page in a webshop.

I want to check if the cart does not exist (= is empty) without creating a new cart and a session with it.

{{ sylius_cart_get() }} creates always a session and this session breaks the varnish cache.