Hi,I've just bought this


  • Your avatar
    seyi    
     a year ago
    0

    Hi,

    I've just bought this module and I have the smae problem.

    I can't use my coupon. It says they don't exist.

    I can't see any Override files and they are not in the module archive.

    I am on Prestashop 1.6.0.9 with AWO 1.3.1

    thanks for your help
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    As in the documentation, these are the overrides:

    - copy modules/awocoupon/prestashop/override15/classes/Cart.php to override/classes/Cart.php
    - copy modules/awocoupon/prestashop/override15/classes/CartRule.php to override/classes/CartRule.php
    - copy modules/awocoupon/prestashop/override15/classes/order/Order.php to override/classes/order/Order.php
    - copy modules/awocoupon/prestashop/override15/controllers/front/ParentOrderController.php to override/controllers/front/ParentOrderController.php


    I have looked at the file archive and the overrides do exist in the module. Can you check it again.
  • Default avatar
    julien73    
     a year ago
    0

    Hello Seyi,

    I can't see them. I have :
    account.php
    ajax.php
    awocoupon.php
    backward_compatibility
    classes
    config.xml
    controllers
    en.php
    gifcert
    index.html
    index.php
    lib
    logo.gif
    media
    ps14
    views


    Nothing else ! The archive's name is : awocoupon-prestashop-1.3.1.zip

    I've tried to unistall et reinstall the module several times !

    Thanks
  • Your avatar
    seyi    
     a year ago
    0

    Ah, apologies, they are in the folder lib. lib/prestashop/...
  • Default avatar
    julien73    
     a year ago
    0

    Ok !!

    So I use those for PS 1.5 even if i'm in 1.6 ??

    Thanks
  • Your avatar
    seyi    
     a year ago
    0

    Yes. And after adding them, you will need to clear class cache. To do that delete or rename the file /cache/class_index.php
  • Default avatar
    julien73    
     a year ago
    0

    OK.

    I'm with One Page Checkout. Does it change something ?
  • Your avatar
    seyi    
     a year ago
    0

    If you mean prestashop one page checkout, then no, it should not.
  • Default avatar
    julien73    
     a year ago
    0

    Yep !!!

    It does work after cleaning the Class cache.

    Thanks a lot !