13thjoker Posted October 30, 2017 Share Posted October 30, 2017 (edited) Where can i find the code to add to cart button? I need this for my custom code Edited October 30, 2017 by 13thjoker (see edit history) Link to comment Share on other sites More sharing options...
hakeryk2 Posted October 30, 2017 Share Posted October 30, 2017 Your theme folder/ product-list.tpl for buttons on categories pages and product.tpl for product page. Link to comment Share on other sites More sharing options...
13thjoker Posted October 30, 2017 Author Share Posted October 30, 2017 (edited) 17 minutes ago, hakeryk2 said: Your theme folder/ product-list.tpl for buttons on categories pages and product.tpl for product page. i meant the function behind it. I bassicly want an onclick event on the add to cart button but when i put it on the cart button itself on refresh it simulates a click. no clue why. Idk if you can help me any further but bassicly on click iof the add cart i need to execute {CartControllerCore::function($productid)} onclick="is the one i tried. In the function i can then add my own function Edited October 30, 2017 by 13thjoker (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now