59 minutes ago, Eolia said:
Merci. je vais regarder ca
59 minutes ago, Eolia said:
Merci. je vais regarder ca
58 minutes ago, Eolia said:
Merci. Voici mon fichier cart.php dans /override
<?php /** * Order Fees Shipping * * @author motionSeed <[email protected]> * @copyright 2017 motionSeed. All rights reserved. * @license https://www.motionseed.com/en/license-module.html */ class Cart extends CartCore { /* * module: orderfees_shipping * date: 2019-05-23 18:45:54 * version: 1.8.30 */ public function getPackageShippingCost( $id_carrier = null, $use_tax = true, Country $default_country = null, $product_list = null, $id_zone = null ) { $total = 0; $return = false; Hook::exec('actionCartGetPackageShippingCost', array( 'object' => &$this, 'id_carrier' => &$id_carrier, 'use_tax' => &$use_tax, 'default_country' => &$default_country, 'product_list' => &$product_list, 'id_zone' => &$id_zone, 'total' => &$total, 'return' => &$return )); if ($return) { return ($total !== false ? (float) Tools::ps_round((float) $total, 2) : false); } $shipping_cost = parent::getPackageShippingCost( $id_carrier, $use_tax, $default_country, $product_list, $id_zone ); if ($shipping_cost !== false) { return $shipping_cost + (float) Tools::ps_round((float) $total, 2); } return false; } }