Settings¶
Most of the Easycart behavior is customized by overriding and extending the
BaseCart
and BaseItem
classes, however, a few
things are controlled through the settings below:
-
EASYCART_CART_CLASS
¶
A string pointing to your cart class.
Has no default value, must always be set, if you want to use built-in views.
-
EASYCART_CART_VAR
¶
default: ‘cart’
The name for the context variable providing access to the cart from templates.
-
EASYCART_SESSION_KEY
¶
default: ‘easycart’
Key in
request.session
under which to store the cart data.