Customize your Virtuemart shopping cart in Joomla

by Koree S. Monteloyola

 

Here are some customizations for your Virtuemart shopping cart in Joomla.

To make the pop-up notification box more readable (because sometimes the background color is set to light yellow and the text is set to white), edit the following:

file:

path/to/joomla/components/com_virtuemart/themes/default/theme.css

text to edit:

.shop_error, .shop_warning, .shop_info, .shop_debug, .shop_critical, .shop_tip {
background-color:#FAFAD2;
background-position:left 5px;
background-repeat:no-repeat;
border-color:#AACCAA;
border-style:dotted none;
border-width:1px 0pt;
font-weight: 900;
margin:1pt 1pt 1em 1em;
padding:0.5em 1em 1.5em 48px;
color:#000000;
}

To remove the Virtuemart shopping cart logo, when the cart is empty, edit the following:

file:

path/to/joomla/components/com_virtuemart/themes/default/templates/common/minicart.tpl.php

text to edit:

   if(!$vmMinicart) { 
<a href="http://virtuemart.net/" target="_blank">
<img src="<?php echo $mm_action_url ?>components/com_virtuemart/shop_image/ps_image/menu_logo.gif" alt="VirtueMart" width="80" border="0" /></a><br />
}

To remove the "Categories" text in Virtuemart shopping cart, edit the following:

file:

path/to/joomla/components/com_virtuemart/themes/default/templates/common/shopIndex.tpl.php

text to edit:

echo "<br /><h4>".$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";

 

blog comments powered by Disqus