Hi all,
Right now my show cart module says "Empty Cart" when nothing is in it. I would like it to show this way"SHOPPING CART: Your Cart is currently empty.Show Cart" If a proudct is added then the number of products will be displayed instead of "Your Cart is currently empty".
Where can I make this change?
Any and all help is greatly appreciated,
Version: Joomla 1.7 & Virtuemart 2.0
I see now where i need to edit this but now i don't know where the "$data->totalProductTxt" part is to change the text displays. Where is that pulling from?
Thanks again for any help on this
In the default.php file of the mod_virtuemart_cart > tmpl folder this piece of code doesn't seem to be firing properly.
<div class="show_cart">
<?php if ($data->totalProduct) echo $data->cart_show; ?>
</div>
in the mod_virtuemart_cart.php file this piece of code exists:
$data->cart_show = '<a style ="float:right;" href="'.JRoute::_("index.php?option=com_virtuemart&view=cart".$taskRoute,$useXHTML,$useSSL).'">'.$linkName.'</a>';
This is what is displayed:
<!-- Virtuemart 2 Ajax Card -->
<div class="vmCartModule ">
<div class="total" style="float: right;">
</div>
<div class="total_products">Cart empty</div>
<div class="show_cart">
</div>
<div style="clear:both;"></div>
<noscript>
Please wait</noscript>
</div>
There is nothing in the "show_cart" div class but I don't understand why.
Can anyone help me out here...I really need this to display the proper links.
Thanks for any help on this..
http://forum.virtuemart.net/index.php?topic=92944.0
you dont need to edit the file, change the text
Thanks for this...
I see the content I want to use. It seems that what I need is already there but I am not sure how to get it to display properly.
Appreciate any expansion on this...
Thanks for expanding on this. I had a similar problem and this post cleared things up a bit.