Hi
On Oct 12, 2009, at 7:55 PM, Seth <[email protected]> wrote:
>
> I recently changed the url on my store to be mydomain.com rather than
> mydomain.com/store. Everything seems to work except a link that I
> have in the cart.html template to the shop home.
>
> Instead of linking to mydomain.com/ it's going to mydomain.com/cart/.
I can confirm that quirk.
Changed my template back to use shop_base and mine goes also to
mydomain.com/cart/
lzantal
> The odd thing is I have a link to the store home in the base.html
> template that evaluates just fine on the cart page.
>
> I've checked the context variables passed to the templates and they're
> correct.
>
> ### settings.py
> 'SHOP_BASE' : '',
>
> ### cart.html
> {% extends "shop/base.html" %}
> ...
> <a href="{{shop_base}}">Home</a> #Link evaluates to
> http://127.0.0.1:8000/cart/
>
> ### base.html
> <a href="{{shop_base}}">Home</a> #Link evaluates to http://127.0.0.1:8000/
>
>
> Also if I set SHOP_BASE to '/' I get some interesting results that may
> help someone know what's going on.
>
> ### settings.py
> 'SHOP_BASE' : '/',
>
> ### cart.html
> {% extends "shop/base.html" %}
> ...
> <a href="{{shop_base}}">Home</a> #Link evaluates to http://127.0.0.1:8000/
>
> ### base.html
> <a href="{{shop_base}}">Home</a> #Link evaluates to http:/
>
> BTW, I'm on Satchmo 0.9 RC1. Thanks Devs! You guys are awesome!
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---