peanutbutter6778 Posted March 29, 2016 Share Posted March 29, 2016 (edited) Hey! I've followed this guide: https://www.prestashop.com/forums/topic/52650-how-to-add-a-custom-page/ to create a new page called mysite.com/mypage (just an example) and everything is working fine. Though I want all the products that has been added to the cart, total product price excl vat and total price to get displayed here, how am I able to accomplish this? What I want on the page: http://i.imgur.com/j23SMto.png Best regards, Niklas. Edited March 29, 2016 by niklas123400 (see edit history) Link to comment Share on other sites More sharing options...
peanutbutter6778 Posted August 17, 2016 Author Share Posted August 17, 2016 Bump Link to comment Share on other sites More sharing options...
vekia Posted August 17, 2016 Share Posted August 17, 2016 $products = $this->context->cart->getProducts(); then you can assign $products variable to smarty (this->context->smarty->assign()) in .tpl file you can do foreach loop on $products variable to display list of products in cart 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