Jump to content

Edit History

Eolia

Eolia

dans /controllers/front/ParentOrderController.php remplacer

                    $this->errors[] = sprintf(
                        Tools::displayError('A minimum purchase total of %1s (tax excl.) is required to validate your order, current purchase total is %2s (tax excl.).'),
                        Tools::displayPrice($minimal_purchase, $currency), 
                        Tools::displayPrice($this->context->cart->getOrderTotal(false, Cart::ONLY_PRODUCTS), $currency)
                    );

par

                    $this->errors[] = sprintf(
                        Tools::displayError('A minimum purchase total of %1s is required to validate your order, current purchase total is %2s.'),
                        Tools::displayPrice($minimal_purchase * (1 + $this->context->cart->getAverageProductsTaxRate()), $currency),
                        Tools::displayPrice($this->context->cart->getOrderTotal(true, Cart::ONLY_PRODUCTS), $currency)
                    );

 

Eolia

Eolia

dans /controllers/front/ParentOrderController.php remplacer

                    $this->errors[] = sprintf(
                        Tools::displayError('A minimum purchase total of %1s (tax excl.) is required to validate your order, current purchase total is %2s (tax excl.).'),
                        Tools::displayPrice($minimal_purchase, $currency), 
                        Tools::displayPrice($this->context->cart->getOrderTotal(false, Cart::ONLY_PRODUCTS), $currency)
                    );

par

                    $this->errors[] = sprintf(
                        Tools::displayError('A minimum purchase total of %1s is required to validate your order, current purchase total is %2s.'),
                        Tools::displayPrice($minimal_purchase, $currency), 
                        Tools::displayPrice($this->context->cart->getOrderTotal(true, Cart::ONLY_PRODUCTS), $currency)
                    );

 

×
×
  • Create New...