Awocoupon for PrestaShop - Coding problem


  • Default avatar
    paolo13    
     4 months ago
    0

    Who is developing my site writes me that Awocoupon returns various errors and warnings.

    Below I report an example where in two methods you try to access the variable $id_discount which however has never been defined and therefore generates errors.


    Can you please do the necessary bug fixing?


    cart.php
  • Your avatar
    seyi    
     4 months ago
    +1

    Ok, it is fixed in the latest 3.6.1.0.

    Note you will need to manually update the file

    /overrides/classes/Cart.php

    with the file

    /modules/awocoupon/helper/override/80/classes/Cart.php
  • Default avatar
    paolo13    
     4 months ago
    0

    Thank you. It works