Hi everyone,
i hope someone can help me, i have a problem with my cart. when i place a item in cart the pop up comes and tell's me that the product has been placed in the cart.
when i press go to chart (Dutch: mandje) i go to a cart but not the one with the good template.
because i use different templates for website and for joomla (because i have a dark main template). so i made a menu (hidden) in joomla with the right template override.
and that should take over the Cart. And if you see the webshop( http://www.rn-motoren.nl/index.php/webshop-1 ) on the right side there is a module named 'winkelwagen' if you press that one you come at the right page. but in the popup you come at the wrong
does anyone know what to do ? i placed links down below to make it extra clear.
joomla version : 3.5.1
VM version : 3.0.10
Link of the cart being showed : http://www.rn-motoren.nl/index.php?option=com_virtuemart&view=cart
Cart layout that actually should be showed : http://www.rn-motoren.nl/index.php/winkelwagen
hope to hear from anyone soon
<a class="showcart floatright" href="http://www.rn-motoren.nl/index.php?option=com_virtuemart&view=cart">mandje</a>
i think i need to change this link to:
<a class="showcart floatright" href="http://http://www.rn-motoren.nl/index.php/winkelwagen">mandje</a>
but where can i find this...
i allready took a look at /com_virtuemart/Views/Cart/padded.php
but nothing changed
if this works then good
padded is correct
$newcartlink = 'http://http//www.rn-motoren.nl/index.php/winkelwagen';
echo '<a class="continue_link" href="' . $this->continue_link . '" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo '<a class="showcart floatright" href="' . $newcartlink . '">' . vmText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';
First of all Thank you verry much !
Okay i put it in Padded.php
like this :
<?php
/**
*
* Layout for the add to cart popup
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2013 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: cart.php 2551 2010-09-30 18:52:40Z milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
$newcartlink = 'http://http//www.rn-motoren.nl/index.php/winkelwagen';
echo '<a class="continue_link" href="' . $this->continue_link . '" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo '<a class="showcart floatright" href="' . $newcartlink . '">' . vmText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';
if($this->products){
foreach($this->products as $product){
if($product->quantity>0){
echo '<h4>'.vmText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$product->product_name,$product->quantity).'</h4>';
} else {
if(!empty($product->errorMsg)){
echo '<div>'.$product->errorMsg.'</div>';
}
}
}
}
but now the page brings me to : http://www.rn-motoren.nl/index.php?option=com_virtuemart&view=cart
where is no Cart only hyperlink with text : "continue shopping" and "Cart" (actually the same as the popup) when i now click at Cart i am directed to the Good page. (http://www.rn-motoren.nl/index.php?option=com_virtuemart&view=cart&Itemid=233)
So we fixed that... but how to fix this new problem ??
i will put some screenshots in this post to make it clear !
So after 2 times pressing mandje you'll be transfert to the correct page...
well use http://www.rn-motoren.nl/index.php?option=com_virtuemart&view=cart&Itemid=233 if it works
you said http//www.rn-motoren.nl/index.php/winkelwagen was the correct link...
That's true what you say but that isn't the problem... the problem is that there is a page between the popup and the cart.
please take a look at the attachments, i will explain what happens per photo :
so when i press go to chart (photo1 )
i am directed to another page (photo2) where i have to press go to cart again,
to finally come at the cart on (photo3)
i want to lose the second step so that i can go from photo 1 directly to photo 3 !
I simply don't see how there can be an intermediate page... a link is a link is a link
well, try it your self http://www.rn-motoren.nl/index.php/webshop-1 ( i'll give you the log in ) put something in cart (mandje / winkelwagen) and when the pop up comes press "mandje" then you'll see what i mean !
the good page should be : http://www.rn-motoren.nl/index.php/winkelwagen and you should go there directly
Hello,
Sorry to interfere here. I know I am a beginner myself. But the problem seems similar to that what I had described in that thread.
http://forum.virtuemart.net/index.php?topic=134819.0 (http://forum.virtuemart.net/index.php?topic=134819.0)
And it's about the modal pop-up window.
As I realized when you put an item in the cart and click in the pop-up: "Show cart" it links to the following (in my case):
http://www.geliefert.reviewinghiv.org/index.php?
option=com_virtuemart&view=cartwhich is - as far as I can see - not the cart itself BUT a
preview of that embeded in index.php.In my case the cart itself shows only after I refresh the product quantity (delete the product) - then the adress changes to:
Quotehttp://www.geliefert.reviewinghiv.org/index.php/cart
Only now this is the real site for the cart. If you deactivate pop-up (which should not be a solution) you should go there directly.
Still I don't know why and for what reason the pop-up can't link to:
http://www.geliefert.reviewinghiv.org/index.php/
cartdirectly.
Cheers,
mrm