Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Printable, numbered gift certificates

    You might consider putting that together and adding it to the Free Software Add Ons ... I would think this would be most helpful to people ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #12
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    started putting it together. i am just a bit worried about potential problems that my hacks could cause for a zen cart install:
    1. i had to include php as allowed file extension in /pub/.htaccess => would this be a security issue?
    2. i use the standard 'download by redirect' procedure, but i slightly modified the way, the name of the temporary download folder (in /pub) is generated: zen cart generates the name of the temporary download-folder as a random number, however i modified it to a shorter random number extended by the information i want to pass (orders_id, price, etc.). my 'downloadable php' file can then read this information from its own directory name and pass it on to the pdf generator. this could lead to problems if there would be another zen cart function that relies on the default 'naming convention' of the temporary download folder...

    also, am i allowed to include a download of dompdf (license GNU LGPL) in my contribution?

    any opinion on these points?

    thanks
    georgfly
    p.s. i am not a webdeveloper, rather a php newbie; i'm using zen cart 1.3.9h

  3. #13
    Join Date
    Mar 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Printable, numbered gift certificates

    BUMP!!

    This sounds like a really good solution!

  4. #14
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    thanks. it works and i havent had any problems with it yet. however, i havent had time make it a nice, installable package for other users. anyway, the next interesting thing to do would be to print a unique barcode on the voucher, that identifies the voucher, and then create a simple page for the administrator to scan and verify that it hasnt been used before. should be easy...

  5. #15
    Join Date
    Jan 2007
    Posts
    1,087
    Plugin Contributions
    4

    Default Re: Printable, numbered gift certificates

    Quote Originally Posted by georgfly View Post
    thanks. it works and i havent had any problems with it yet. however, i havent had time make it a nice, installable package for other users. anyway, the next interesting thing to do would be to print a unique barcode on the voucher, that identifies the voucher, and then create a simple page for the administrator to scan and verify that it hasnt been used before. should be easy...
    Even if you posted the files and step by step of what you did, that would be extremely helpful. I would LOVE to have this functionality and I am sure I am not alone!

    Zen Cart and it's community are the best!!

  6. #16
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    i will write up a short tutorial and include the necessary software over the weekend.

  7. #17
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    i added a new contribution 'printable vouchers' to zen cart website. it will take some time (being reviewed) before it goes online. please READ readme FIRST! i didnt take time to make installation idiot proof, so you really want to check what changes my files make to your system. and of course BACKUP FIRST!!!

  8. #18
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    looks like it takes a while for being reviewed by the zencart folks. anyway, i put it up on my ftp server for download. and just to remind people: my solution DOES NOT us zencarts online gift certificate that you can email to your friends. all it does is to let customer purchase a printable pdf that contains order id and the voucher's value in dollars or euros. you should be able to easily modify my code in order to print any other dynamic info on your voucher.
    here's the link:

    https://www.zen-cart.com/index.php?m...oducts_id=1977
    Last edited by swguy; 15 Aug 2011 at 01:09 AM.

  9. #19
    Join Date
    Jun 2011
    Posts
    169
    Plugin Contributions
    0

    Default Re: Printable, numbered gift certificates

    Hi Georgfly

    I like your idea of a downloadable voucher - i have installed this add on as per the read me file - but can't get it to work. If i have a regular zip file as the download it works fine if i use the gutsc431nForw.php as the download file i get the following error:-
    403 Permission Denied
    You do not have permission for this request /pub/.jwzymzqhnx_9_9_1_10/gutsc431nForw.php
    What am i doing wrong - obviously it is permissions but i can't figure which folder

  10. #20
    Join Date
    Apr 2011
    Posts
    10
    Plugin Contributions
    2

    Default Re: Printable, numbered gift certificates

    Hi
    sorry that you're having problems getting it to work.
    anyway, start out checking if

    1. your dompdf installation works and can be called from a php script via a url (just write a small test-php)
    gutsc431nForw.php should show you how to do this in principle

    2. check out if you can call a test-php file inside
    /pub
    /download/gutsc431n/
    from a browser
    also, check basic read/write settings that zen cart requires for these two directories...

    good luck

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Gift Certificates/Printable GCs/Group Discounts
    By STFlats in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 4
    Last Post: 30 Nov 2009, 03:35 PM
  2. Creating sequentially numbered downloads for paper gift certificates ?
    By Austria_Des in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 27 Jun 2009, 03:05 PM
  3. Turn off Gift Wrap for Gift Certificates
    By tammy_kenny in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Jul 2006, 12:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •