dogdayfear Posted March 14, 2015 Share Posted March 14, 2015 (edited) Im trying to customize a COD module to fit my needs. This is the piece of code $order->total_shipping_tax_excl = (float)$this->context->cart->getPackageShippingCost((int)$id_carrier, false, null, $order->product_list)+$fee; At the end of the line I need $fee/1.21 but it throws an error. But if I use $fee*AnyNumberHere it woks but obviously it is not the result I need. Why can I multiply but not divide? Im using PS 188.8.131.52. Thanks in advance. Edited March 14, 2015 by dogdayfear (see edit history) Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now