AwoCoupon Pro - can I stop an email being sent upon sale of Gift Certificate?


  • Default avatar
    QuannyUK    
     10 years ago
    0

    Hello,

    I'm looking at offering Gift Certificates on a site I have just finished, and want the customer to be able to retain the balance of the GC, for example, only spend £10 of a £50 certificate. AwoCoupon Pro seems to fit the bill...

    However, we're looking to sell actual cards with the code printed on them, rather than have email based ones. Is it therefore possible to not have AwoCoupon Pro send out the code via email, to the customer at least, upon a sale?

    - Adam.
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    There is no option for that, but it is as easy as commenting out one line of code. So yes, you can do it, just have to make a little code modification.
  • Default avatar
    QuannyUK    
     10 years ago
    0

    Great... could you let me know what to edit? Thanks...
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    What shopping cart is this?
  • Default avatar
    QuannyUK    
     10 years ago
    0

    VirtueMart 2
  • Your avatar
    seyi    
     10 years ago
    0

    in www/administrator/components/com_awocoupon/helpers/estore/estoregiftcerthandler.php, around line 334 is this:
    <?php
                
    if ( awoLibrary::sendMail($from_email...
    ?>


    Change it to this:
    <?php
                
    //if ( awoLibrary::sendMail($from_email...
                
    if ( 1!=) {
    ?>