VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: capricornio on October 06, 2012, 13:21:54 PM

Title: SEF Enabled -> problem with displaying cart
Post by: capricornio on October 06, 2012, 13:21:54 PM
Hi all,

I've enabled Joomla Core SEF and VM SEO, pagination and SEF URL's look all good, but I have a problem when I want to show my cart or add a product to the cart.
Then I receive the message that I should logon first (even though the product is added to the cart, the cart can't be displayed).

Even tried it with the VM Config options for checkout ask for registration and only registred users can checkout disabled, but that did not help.

Anyone have a clue what I'm doing wrong here ?

Website is http://www.mylittleloft.capricornio-it.nl/

Running VM 2.0.12 on Joomla 2.5.7

Any help is appreciated.

Thanks
Title: Re: SEF Enabled -> problem with displaying cart
Post by: bytelord on October 06, 2012, 14:29:17 PM
Hello,

Did have any joomla menu item that points to VM only for registered users? For example you have a joomla menu item named cart that points to vm cart and is only for registered users, if yes turn that menu on for public access.

If you want hide the menu from anonymous users do the follow structure on your menu:

User Options [Registered]
       -> Account maintenance [Public Access]
       -> Add an address [Public Access]
      etc, etc

Regards
Title: Re: SEF Enabled -> problem with displaying cart
Post by: capricornio on October 06, 2012, 14:55:38 PM
Hi Bytelord,

No I have no menu item that point to the shopping cart. The only link to it is from the productdetails page when you order something or from the module VM Shopping Cart.
Is a menulink necessary ?

Title: Re: SEF Enabled -> problem with displaying cart
Post by: bytelord on October 06, 2012, 15:04:06 PM
Hello,

necessary if mostly for virtuemart component (shop front) to have  a menu which already i suppose you have assigned, but please also apply to the cart page.
May be you have menu items points to account registration, view orders, etc, etc and are for registred users only.

Regards

Title: Re: SEF Enabled -> problem with displaying cart
Post by: capricornio on October 06, 2012, 15:19:13 PM
Hi,

Actually I don't use the shops frontpage, as I use a default Joomla article as homepage together with some modules around it that shows VM info.
The only VM navigation I have is the links to the product categories.
But if it's necessary to get everything up and running correctly, it's no problem for me to add a menu with specific user items.
Title: Re: SEF Enabled -> problem with displaying cart
Post by: bytelord on October 06, 2012, 15:23:24 PM
Hello,

You have to publish com_virtuemart (virtuemart front page) under a menu item, and under this item the rest of them, your joomla home page will not change .

Regards.
Title: Re: SEF Enabled -> problem with displaying cart
Post by: capricornio on October 06, 2012, 17:41:29 PM
Thanks,

What I did right now is to create a menu with different VM menu items like Frontpage and Shopping Cart and have this menu not linked from anywhere. I am only a bit concerned whether this would affect the security of the shop.
Main reason for this is that I don't like the VM frontpage at all and doing a template override will cost me more time than a simple Joomla Homepage with some modules around it
Title: Re: SEF Enabled -> problem with displaying cart
Post by: bytelord on October 06, 2012, 18:29:54 PM
Hello,

No security issues, don't worry about that. Just hide the vm front page menu.

Regards