virtuemart change shopping cart logo
If you use Joomla, the very best CMS for your web development, and you install virtuemart, the best ecommerce plugin available then you will come across the problem of having the virtuemart logo showing as your cart with a link to the virtuemart site. Web publishers and ecommerce site owners want something a bit more professional, here is a guide how to remove the virtuemart link and logo, and change the shopping cart logo to a different logo of your choice.
Ok first step is to log into your FTP program, and connect to your website ftp server. A great piece of free software i would recmmend to do this with is filezilla, click here.
Once you have installed filezilla, just enter your details for your webserver, and connect.
Once you are logged into the root of your website:
- Go to the specific domain your joomla website is installed to (domain.com)
- Browse to the location:
- copy this file to your local drive, and make a copy backup.
- Now edit the file with notepad
- Find the line:
<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>
The first line : <a href=”http://virtuemart.net/” target=”_blank”>
Is the part that is the link. You can change this to be your website, or you can remove the link altogether.
Now to change the image for the shopping cart you have to work with this line:
<img src=”<?php echo $mm_action_url ?>components/com_virtuemart/shop_image/ps_image/menu_logo.gif” alt=”VirtueMart” width=”80″ border=”0″ />
If you want to replace the virtuemart image only, then the easiest to do this is just name your new cart logo that you plan to upload the same as the one that is there already. menu_logo.gif
When you upload your new cart logo it will overwrite the existing virtuemart cart logo, and your new logo will show now instead.
Remember to change your alternative image tag if you want to.