Gift voucher numbering


  • Default avatar
    allan0    
     13 years ago
    0

    Is it possible to make the gift certificate voucher id a number rather than have letters.

    We use the program to sell flying experiences that the customer must call us to arrange the flight.

    The reason for this is to enable our customers to enter the number when they phone to use it. Most modern telephone systems can utilise this feature so that the details can be retreived from the database and we can confirm whe customer and voucher as we answer the phone.

    Allan

  • Your avatar
    seyi    
     13 years ago
    0

    there is no way to do this from the user level, but it can be customized in the code. If you are using the current version 1.3.5, then

    in www/administrator/components/com_awocoupon/assets/virtuemart/ps_awo_giftcert.php, change line 217
    <?php
        $salt 
    'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789';
    ?>


    to this

    <?php
        $salt 
    '0123456789';
    ?>