VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Viktoras9 on December 16, 2015, 16:16:23 PM

Title: Virtuemart 3.0.12 redrect error after popup window "Added to cart"
Post by: Viktoras9 on December 16, 2015, 16:16:23 PM
Hello, I have strange issue. When i select product ant hit add to cart, popup window appears. With two links, and when i hit on "Show cart" I am redirecting to "/index.php?option=com_virtuemart&view=cart" which gives me an error "Notice: Trying to get property of non-object in <template index.php in line 30>". In that line there is written that, I must create new menu button with cart itself. So I did that.
My problem is that when i push on menu item I am in cart with normal link and no Notice error, but when I am in popup window after hitting "add to cart" and there hit "show cart" i am still redirecting to /index.php?option=com_virtuemart&view=cart with error notice.
What I am doing wrong?
Joomla 3.4.6 and Virtuemart 3.0.12
Title: Re: Virtuemart 3.0.12 redrect error after popup window "Added to cart"
Post by: jenkinhill on December 16, 2015, 17:35:31 PM
It is just a notice. You can turn notices & warnings off - http://forum.virtuemart.net/index.php?topic=102555.0
Title: Re: Virtuemart 3.0.12 redrect error after popup window "Added to cart"
Post by: Viktoras9 on December 16, 2015, 18:32:28 PM
That did the trick. Thank you