VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: nflmerch on December 21, 2011, 22:38:38 PM

Title: [Solved] Shopping cart link 404 with SEO on
Post by: nflmerch on December 21, 2011, 22:38:38 PM
VM 2
J 1.7
Beez template
Deleted config file as suggested, and uninstalled and re-installed all plugins, AIO, and modules. Also tried Tools> "Renew config by file".

With the VM2 SEO enabled:  Anytime I try going to the shopping cart, in the module or with the java popup after adding a product to the cart, it goes to a 404 page.
It attempts to go to this page, mysite.com/component/virtuemart/cart, which does not exist.

If I disable VM SEO:, the cart works only sometimes.   If I am on a VM page or category page, the cart will work.  For example if I am on my account page it goes to mysite.com/my-account/view/cart.  If I am on a product page or detail page, it goes to, for example  mysite.com/mlb/milwaukee-brewers/view/cart.  Those work.
However, if I am on a page that is NOT VM, the cart still does not work.  It attempts to go to mysite.com/component/virtuemart/view/cart which does not exist.

I am using j1.7's SEO as well, and I've been testing every VM2 beta version and subreleases, etc, but this is the first time I've had this problem.
Thanks
Title: Re: Shopping cart link 404 with SEO on
Post by: PRO on December 27, 2011, 20:26:50 PM
do you have a joomla menu link to the default layout?
Title: Re: Shopping cart link 404 with SEO on
Post by: nflmerch on December 27, 2011, 23:28:33 PM
Wow thank you, you're right.   I swear I had made a menu link to the default layout a long time ago, but it wasn't there anymore.
Thanks