Template overrides in Prestashop


  • Default avatar
    giles0    
     10 years ago
    0

    Can you please tell me the correct path for AwoCoupon templates in a custom theme folder?

    I've tried most combinations off /mytheme/modules/awocoupon but none seem to be picked up

    e.g. these are files I wish to override:

    /awocoupon/views/15/front/_hookCustomerAccount.tpl
    /awocoupon/views/15/front/coupons/tpl
    /awocoupon/views/15/front/giftcert.tpl

    Thanks
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    This does not work. But I will be making an update very soon that will fix it. Once updated, these paths will work:

    /themes/mytheme/modules/awocoupon/_hookCustomerAccount.tpl
    /themes/mytheme/modules/awocoupon/coupons/tpl
    /themes/mytheme/modules/awocoupon/giftcert.tpl

    or

    /themes/mytheme/modules/awocoupon/views/templates/front/_hookCustomerAccount.tpl
    /themes/mytheme/modules/awocoupon/views/templates/front/coupons/tpl
    /themes/mytheme/modules/awocoupon/views/templates/front/giftcert.tpl