How to modify the Add to Cart button in VirtueMart?

The Add to cart button is actually a gif file.

It is located at:

YOUR_JOOMLA_FOLDER/templates/YOUR_DEFAULT_TEMPLATE/images/button-addtocart.gif

Replace YOUR_JOOMLA_FOLDER and YOUR_DEFAULT_TEMPLATE with the corresponding values for your web site installation.

Replace this gif file with one designed by you and reload the web site. The new Add to cart button will be visualized in your online shop.

You can also change the label of the button from the following file:

administrator/components/com_virtuemart/languages/common/USED_LANGUAGE.php

Replace USED_LANGUAGE with the corresponding language file name (for example english.php).

Look for the following line and enter the preferred value:

'PHPSHOP_CART_ADD_TO' => 'Add to Cart',

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to remove recently viewed products from the homepage in VirtueMart?

You can disable the visualization of the recently viewed products from your web site's front end...

How to set maximum purchase value in VirtueMart?

The VirtueMart script allows you to set the minimum sum per a purchase. This can be done from the...

How to hide the Add to Cart button for non-registered users in VirtueMart?

In order to hide the Add to Cart button for non-registered users edit...

How to install a language pack in VirtueMart?

First you should install the chosen language pack for Joomla. You can find detailed instructions...

How to change the ”Recommend to a friend” message in VirtueMart?

The Recommend to a friend link in the products details pages can be enabled from the Joomla...