Guest Posted July 18, 2020 Share Posted July 18, 2020 (edited) Hi to all. I need to change the minimum price for free shipping or change the shipping price in the module. I use a hook: public function hookActionCartSave($params) { $id_cart = $this->context->cart->id; $summary = array(); $summary['total_shipping'] = $params['total_shipping'] + 10; Hook::exec('actionCartSummary', $summary, null, true); } Unfortunately, it doesn't work. I will add a condition and if the condition is met, for example, there will be no free shipping. Thanks for the help. Edited July 20, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Pandal Posted June 22, 2022 Share Posted June 22, 2022 Did you figure it out? Hook is not getting called 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