alex k Posted April 6, 2016 Share Posted April 6, 2016 Hi all Im sure there is a simple solution but I cant figure it When someone buys a product and the pop-up "Product successfully added to your shopping cart" appears. I removed the shipping cost as I only want this to appear at the final check out page The problem is. Now I have removed "shipping/delivery" The shipping/delivery charge is just being added to the "Total" on the right hand side of the pop-up How do I stop this happening please? Many thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 6, 2016 Share Posted April 6, 2016 You need to modify the total cost in blockcart.php as well (assigncontentvars method) Link to comment Share on other sites More sharing options...
alex k Posted April 6, 2016 Author Share Posted April 6, 2016 Is there a guide/tutorial how I do this somewhere please? Many thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 8, 2016 Share Posted April 8, 2016 Not really, you need to find this$totalToPay = $params['cart']->getOrderTotal($useTax);And use Cart::BOTH_WITHOUT_SHIPPING as second parameter Link to comment Share on other sites More sharing options...
alex k Posted April 8, 2016 Author Share Posted April 8, 2016 Fantastic! Thank you! It fixed my problem Im amazed these little fixes that you you guys know are not added to the back end of Prestshop? I cant believe Im the only person who needs and wants a lot of theses things done Thank you again anyway 1 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