jsanchez1987 Posted April 22, 2015 Share Posted April 22, 2015 Hello, I would be interested to do a foreach with a variable that I have created to add up the value of each product, and in the end I show the total . What is not well how to do and where files. Thank you Link to comment Share on other sites More sharing options...
jgamio Posted April 22, 2015 Share Posted April 22, 2015 Hi, You have to provide more information, where do you show it Link to comment Share on other sites More sharing options...
jsanchez1987 Posted April 22, 2015 Author Share Posted April 22, 2015 I create an extra field after making an override and creating it in the database too, I like to put that extra total field created in themes / shopping-cart.tpl. Link to comment Share on other sites More sharing options...
jgamio Posted April 22, 2015 Share Posted April 22, 2015 You are not precise what do you override ? where do you add the extea field ? You can create a module and use HOOK_SHOPPING_CART_EXTRA to show data But you need give more information 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