Hi Mike,

Your template isn't getting passed the parameters you need,
specifically the {{cart_count}} and {{satchmo_cart}} variables. My
suggestion - use the app plugin 'cart', which is design to do just
this. Just add in {% plugin_point "cart" %} wherever you want your
cart code. I see you already have the app_plugin template lib loaded.
Then in 'shop>plugins>cart template, write your implementation of your
own cart html, or use the one given in Satchmo.

Hope this helps,

Ricko



On Apr 27, 7:09 am, Mike Hostetler <[email protected]> wrote:
> Hello,
>
> I just want to  say how many items are in the cart in the header of the
> site.  I have my own implementation of the base.html file that has:
>
> {% load i18n satchmo_category satchmo_google satchmo_util satchmo_currency
> satchmo_discounts app_plugins normalize_decimal %}
>
> But I haven't touched Satchmo's shop index view.
>
> I noted on the sample store that it has Cart information on the sidebar.
>  When I put the following in my index template:
>      <div class="shopping-display">MY CART - {{ cart_count }}  ITEMS
>                    {{ satchmo_cart }}
>
>                 <!--Shopping cart code here - end shopping display--></div>
> I don't see anything -- no cart_count or any value for satchmo_cart.
>
> What am I doing wrong?
> --
> Mike Hostetler
> SquarePeg Systemshttp://www.squarepegsystems.com

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to