Camiseta Luciérnagas The Last of Us II - Difuzed
Fabricante: Difuzed
Tamaño: M, L
Serie: The Last of Us II
Personaje: Luciérnagas
Material: 100% algodón
* module: megamoney * date: 2021-01-15 02:35:45 * version: 17.1.1 */ public function removeCartRule($id_cart_rule) { $cartrule = new CartRule($id_cart_rule); $result = parent::removeCartRule($id_cart_rule); if (!class_exists('MegaMoneyCart', false)) { include _PS_MODULE_DIR_ . 'megamoney' . DIRECTORY_SEPARATOR . 'classes/MegaMoneyClass.php'; } $mmcr = MegaMoneyCart::getMoneyCartRules($this->id); if($mmcr && $mmcr->id_cart_rule==$id_cart_rule) { $mmcr->delete(); $mmc = new MegaMoneyCustomer($this->id_customer); if($mmc) { $mmc->money += (float)$cartrule->reduction_amount; $mmc->update(); } $cartrule->delete(); } return $result; } } ?>
Hay 4 productos.