Jump to content

Règles de prix panier sans code ne fonctionne pas


g_escande81

Recommended Posts

Bonjour,

Dans Prestashop 1.7
J'ai essayé d'appliquer une règle de prix panier sans code et cela ne marche pas.
Avec un code oui cela fonctionne bien

Mais justement j'aimerai pouvoir éviter à mes client de taper un code promo.
Surtout quand il s'agit des "Frais de port offert" pour un certain transporteur à un certain montant.
Donc le calcul de la règle se passe au niveau du choix de transporteur.

Est-ce possible ?

Merci de m'aider

Cordialement

Edited by g_escande81 (see edit history)
Link to comment
Share on other sites

  • 2 months later...

avec un code promo j'ai cette erreur 

FatalErrorException in Cart.php line 3203: Error: Access to undeclared static property: CartCore::$_total_shipping

    in Cart.php line 3203
    at CartCore->getCarrierCost() in CartRule.php line 1010
    at CartRuleCore->getContextualValue() in Cart.php line 473
    at CartCore->getCartRules() in Cart.php line 2054
    at CartCore->getTotalCalculationCartRules() in Cart.php line 1937
    at CartCore->getOrderTotal() in CartPresenter.php line 295
    at CartPresenter->present() in CartController.php line 78
    at CartControllerCore->initContent() in Controller.php line 205
    at ControllerCore->run() in Dispatcher.php line 379
    at DispatcherCore->dispatch() in index.php line 28
    at {main}() in index.php line 0

vous avez trouver une solution sans code promo ??

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...