Can't specify the {vouchers} tag syntax when creating a profile


  • Default avatar
    DJDiM    
     10 years ago
    0

    In the Release Notes of AwoCoupon Pro 2.2.3 was added nice option to specify the {vouchers} tag syntax. Unfortunately, when I'm changing it, saving email profile, and opening it again, it still showing me old record:
    Gift Certificate: {voucher}
    Value: {price}{expiration_text}


    My changes were never saved. Is it possible to make it now without changing estoregiftcerthandler.php ?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Your changes are being saved, there is just a bug that loads the default always. This will be fixed in the next version. In the meantime, if you want you can update your code:
    www/administrator/components/com_awocoupon/models/profile.php, around line 122 are these 2 lines of code:
    <?php
            $this
    ->_entry->voucher_text_lang_id 0;
            
    $this->_entry->voucher_text_exp_lang_id 0;
    ?>


    Delete them.
  • Default avatar
    DJDiM    
     10 years ago
    0

    Ok, thanks. And also I wanted to aks you another question about vouchers
    If buyer will buy 2 codes, he will receive both of them in 1 line in email.
    Samle: 1st code = asdfg
    2nd code = zxcvb
    I'm typing in email profile tug voucher and buyer after purchase receive email asdfgzxcvb in 1 line.
    How to make it in separate lines?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Yes, both coupons would be in the email.

    Its an html email using the br tag:



    at the end should do it, example
    {voucher}