it is my understanding that the different elements of the product details and browse pages all reference the shop.browse.php file with their smarty template references
for example, if you edit the file:
/administrator/components/com_virtuemart/html/templates/browse/browse_5.php
you will see the code {form_addtocart}
this is the code that inserts the add to cart button along with a quantity selector. but suppose you want to change the look, or remove the quantity attribute, or another change... where do you go?
it is all in
/administrator/components/com_virtuemart/html/shop.browse.php
the {form_addtocart} code starts around line 400
quick tip: search for $form_addtocart and you will find info for {form_addtocart} quickly. this is the same for other variables
Virtuemart Shopping Cart {form_addtocart}
Tuesday, November 6, 2007 | Posted by yourmanstan at 2:28 PM
Labels: virtuemart
Subscribe to:
Post Comments (Atom)
3 comments:
hi, any idea how to remove the quantity selector
found it: products / display otpions
you describe how/where to change the style. we offer Virtuemart Designs for add to cart buttons and many more, take a look www.i-love-virtuemart.com
Post a Comment