Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: How to change the product Add to cart button

How to change the product Add to cart button 10 years 6 months ago #6913

I would like to change the Product Details 'Add to cart' button with sample one, not this green ajax button of Flexible. How to do this, in which file?
The administrator has disabled public write access.

How to change the product Add to cart button 10 years 6 months ago #6938

hi,

Through these files:

Product details:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default_addtocart.php

Category page:
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/flexv2.php



But i would suggest you to use CSS to modify the add to cart button stylization. Touching the PHP files might be tough thing to do.
For the CSS modification, this is the file you need to modify:
/templates/YOUR_TEMPLATE/html/com_virtuemart/assets/css/flexibleVM2Global.css


Regards,
Support
Last Edit: 10 years 6 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.035 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo