Modify VM product and list template to display AWO discount price


  • Default avatar
    Krx    
     6 years ago  last edited 6 years ago
    0

    Hello

    I wonder is it possible to modify VM templates via override system or use AWO snippets if available, to:
    - display discount amount in product list, below original price
    - display discount amount in product details, below original price
    - display discount amount in cart next to every product where discount is applied
    - or mark anyhow any product with discount?
    I know how to modify VM templates but I never tried to integrate AWO Coupon output
    I'm also using One Page Checkout for VirtueMart [byPV]

    Joomla 3.8.2
    Virtuemart 3.2.4
    Latest Awocoupon 2.5.9.2 pro
    One page checkout by byPV 1.18.4

    Thanks,
    Regards
  • Your avatar
    seyi    
     6 years ago
    0

    Here is how you could integrate it into the cart:
    https://awodev.com/forum/awocoupon/suggestion-box/shows-percentage-discount#post5780

    It was written a while back so some of the virtuemart variables may have changed.

    As for showing it on the product category/detailed page, this would be a problem because AwoCoupon would only discount after the product has been added to the cart.  And I am assuming you are trying to show the discounted price before it is added to the cart.