Custom formatting of gift certificate limitations


  • Default avatar
    karl18    
     8 years ago
    0

    Hello - I would like to style a gift certificate using awocoupon the appears like this for the recipient to print out please.
    http://upd8.net.au/awocert/gift_voucher_sample.jpg

    In the admin I can only see the ability to add
    1. coupon code
    2. value
    3. expiry date

    But I need these extra fields all combined together with the graphic underneath and not just written in an email
    Can you please advise how this can be done

    regards Karl
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    Any of the tags can be used in the free text fields, except for {vouchers} and {image_embed}
  • Default avatar
    karl18    
     8 years ago
    0

    OK thanks - I'll give it a try.

    Also is there any way to use fonts other than Arial?
  • Your avatar
    seyi    
     8 years ago
    0

    Yes, you would have to load the ttf file into

    www/administrator/components/com_awocoupon/assets/giftcert/fonts

    Then it would be automatically picked up and used.
  • Default avatar
    karl18    
     8 years ago
    0

    Perfect - I got the extra fields working but I need one more Free Text Field - Can you please advise how this can be added
    Kind regards Karl
  • Your avatar
    seyi    
     8 years ago
    0

    Not a way within AwoCoupon, this would require a plugin.
  • Default avatar
    karl18    
     8 years ago
    0

    Hello again.

    I have installed the paid plugin and added the tag "{recipient_message}" into the Free Text 4 field

    However, when the coupon gets purchased - the field still says "{recipient_message}". Therefore it doesn't replace it with the actual text

    Also the "Value" field doesn't add the tax in the sent coupon

    Can you please advise how I can get these 2 items to work correctly

    ta Karl
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    I have responded to your email regarding the extension.

    The value printed on the gift certificate is the value of the gift voucher. If you have set discount before tax to 'yes' and want the value after tax to be displayed on the gift voucehr, then you would have to add a little customization to do this. Is that what you are after?

    Or are you referring to the 'Price Calculation Type'. In the gift certificate product did you set it to template, base price, or base price with tax?
  • Default avatar
    karl18    
     8 years ago
    0

    Yes "Price Calculation Type" fixed it.

    One last question please.

    When I enter a sentence of text for the message - is there any way to set the field so it wraps after reaching 400px wide as it just keeps going in one straight line
    I'm happy to pay if you need to edit your code to suit this

    The way I see it working is if you had a column in your profile image screen that is a width column then that would truncate the width of the field when displayed on the image.

    This is rather urgent if you could fit it in