Results 1 to 10 of 39

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Setting downloads to 7 day expiration with unlimited downloads

    Hello!

    I am in the final phase of finally getting my site up and running and have a question in regards to downloads. I wish to have an unlimited amount of downloads available to customers with an expiration of 7 days per download. Here is my concern, I have concluded that the only way to have unlimited downloads is to set the number to an unreachable limit such as 99,999 and setting the expiration to 7 days, but I do not want the 99,999 figure to show up in the checkout process. I have found the controller "define('TABLE_HEADING_DOWNLOAD_COUNT', 'Remaining')" and my intent is to disable this altogether so it no longer shows in the download process, my question being, how/where do I turn this item off??? Another option would be if there were a way to actually set the download count to "unlimited", either option would accomplish the task

    My site it www.epatternjunction.com and it is not live yet, so only the check/money order option of payment is enabled.

    Thank you in advance for any help!
    ~Chestnut Junction

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Setting downloads to 7 day expiration with unlimited downloads

    And if you customized the tpl_modiues_download.php around:
    Code:
          <td class="centeredContent"><?php echo ($downloads->fields['download_maxdays'] == 0 ? TEXT_DOWNLOADS_UNLIMITED_COUNT : $downloads->fields['download_count']); ?></td>
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Setting downloads to 7 day expiration with unlimited downloads

    NOTE: still set it ridiculously high, just don't show it ...

    NOTE: using your templates and overrides, of course ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Setting downloads to 7 day expiration with unlimited downloads

    Thank you sooo much for your help Ajeh, I'm off to edit it now

  5. #5
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Setting downloads to 7 day expiration with unlimited downloads

    Ok, I have found the line to edit in the tpl.modules.download.php, now, newbie question, how do I edit it to either turn off or set the Download quantity to unlimited lol!

    Thanks for any help!
    ~Chris

  6. #6
    Join Date
    Aug 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Setting downloads to 7 day expiration with unlimited downloads

    Ok, I managed to get the remaining download count to vanish, but now I have a very frustrating and unresolved problem. My files are instant download .pdf patterns and every time I try to download the .pdf it comes across as being corrupt and cannot be opened. I have read several forum posts in regards to corrupt files and have tried several resolutions to solve this problem. I have renamed my files to eliminate any characters that may be bad and I have also zipped my pdfs then tried to download. When I download the zip then try to unpack it, they say that they are empty and will fail to unzip. The really odd part is that if I clear my internet properties then retry the zip download, it downloads fine and even unzips without a problem, but I do not think my customers will wish to go through the trouble of doing this, and furthermore, I would really like them to be able to download the pdfs directly without zipping them. Any help would be GREATLY appreciated!

    Chris Sharp
    www.epatternjunction.com

 

 

Similar Threads

  1. Unlimited Stock and How to Properly Set Up Digital Goods with Downloads?
    By Andrew2 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 8 Jun 2009, 06:33 PM
  2. Downloads expiration - money order ?
    By stage in forum General Questions
    Replies: 8
    Last Post: 4 Sep 2007, 05:59 AM

Posting Permissions

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