Hi there,
I have recently posted another error I have found with my virtuemart (http://forum.virtuemart.net/index.php?topic=101760.0)
this is a seperate issue however
I keep getting double system or info messages at the top of the cart page. again I have seen a few posts regarding this but I cant seem to find a fix.
here a few images I took of the double system messages
(http://img820.imageshack.us/img820/7366/11904203.png) (http://imageshack.us/photo/my-images/820/11904203.png/)
(http://img33.imageshack.us/img33/3881/83392200.png) (http://imageshack.us/photo/my-images/33/83392200.png/)
any help would be awesome,
Thanks
check this http://forum.virtuemart.net/index.php?topic=101317.0
Yeah checked that :(
I dont use USPS Plugin i only use the one page checkout and i cant seem to find in that thread any posts displaying how to fix it regarding the onepage checkout.
Same problem here, not using any USPS plugins...
Check our Virtuemart 2 shop here: www.tjoelup.com
at components/com_virtuemart/controllers/cart.php line 76-79
if ($cart->add($virtuemart_product_ids,$success)) {
$msg = JText::_('COM_VIRTUEMART_PRODUCT_ADDED_SUCCESSFULLY');
$mainframe->enqueueMessage($msg);
$type = '';
If you look some lines below there is a $mainframe->enqueueMessage($msg); also at line 90 and that is why the duplicate system message.So there is no need for the first output to exist .Comment line 78 and it will be ok.Check below
if ($cart->add($virtuemart_product_ids,$success)) {
$msg = JText::_('COM_VIRTUEMART_PRODUCT_ADDED_SUCCESSFULLY');
//$mainframe->enqueueMessage($msg);
$type = '';
thanks for the post. I tried this and still showing up.
maybe if you attach your cart.php and ill upload it and see what happens?
Thanks,
Was there a resolution found for this error of duplicate system info msgs on clicking cart confirm ? I am seeing the same problem in VM 2.0.10- one msg is empty ie just says "info" , the other says "message sent to customer" which is the message one would expect on cart confirm. How do I get rid of the redundant empty message. Not seeing the duplicate code mentioned above in cart.php. Any ideas anyone ?
It is not a doubled message, it is one message.
The problem is the language string. I must ask the translators why they used it. I think it should be span and not a div, because the div is making a new line.
<div class='componentheading'>Registration Complete!</div>
Thanks for explaining this
This is over 2 years old and is now an issue again in VM 2.6.0