VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: patchilolo on February 03, 2014, 01:45:55 AM

Title: ADD TO CART BUTTON
Post by: patchilolo on February 03, 2014, 01:45:55 AM
Hi ,

I created a submit input that i called  "ADD" and i went to copy the same code Javascript of the "ADD to Cart " bouton , so my question is where can i find this Javascript Code .

Thanks .
Title: Re: ADD TO CART BUTTON
Post by: Robert_ITMan on May 07, 2014, 19:30:49 PM
Can you be more specific? What are you creating and ADD button for? Are you renaming it in the language file(s)? Maybe you are you customizing your template... if so look to the file: /templates/(your template)/html/com_virtuemart/cart/default.php - if it doesn't exist create it using a copy of /components/com_virtuemart/views/cart/tmpl/default.php.
Title: Re: ADD TO CART BUTTON
Post by: GJC Web Design on May 07, 2014, 20:23:20 PM
it calls the function in components/com_virtuemart/assets/js/vmprices.js  sendtocart ?

but you should try to explain what your trying to do