How can I change status of order without sending coupon?


  • Default avatar
    DJDiM    
     10 years ago
    0

    When I'm changing status of order to confirmed manually Awo is sending coupons to buyers. That's fine, but I need to change few order statuses to confirmed without sending coupons. How can make it?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    This is the vouchers sent on purchasing a gift certificate product?

    If so, you can temporarily disable the plugins. You will find them on AwoCoupon Dashboard.

    Dont forget to enable them back otherwise AwoCoupon will not work any more.
  • Default avatar
    DJDiM    
     10 years ago
    0

    Thanks, that was exactly that I wanted.
    Also I wanted to ask you another question. I want to create List Coupon Codes menu. But I want to remove from that page such info:
    Value Type
    Value
    Balance
    Start Date
    Expiration
    and leave only Coupon Code.
    How can I make it? Is there any template like in Virtuemart?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    You can create your own template.

    Find the file
    www/components/com_awocoupon/views/coupons/tmpl/default.php

    and copy it to this location
    www/templates/[YOUR_TEMPLATE]/html/com_awocoupon/coupons/default.php

    Then you can change this file around to match your needs
  • Default avatar
    DJDiM    
     10 years ago
    0

    Thanks!
    And 1 more question. I want to show the name of sold certificate next Coupon Code. Istead of Value, etc.
    Can you tell me, what code is it necessary to add in template?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Do you mean the product name? This variable is not available in the template. Y ou would first have to retrieve the product. You should look at this file for an example
    www/administrator/components/com_awocoupon/models/history.php, function resend_giftcert

    Its is not easy because of the way the data is stored.