Page 17 of 23 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 222
  1. #161
    Join Date
    Dec 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Hello,

    I, too, have read through this entire thread - time travel :) - tried all the various options, and still haven't quite got there.

    I would appreciate a wise eye...

    I set-up the Option Name & Option Value as "Free Download" and "Download PDF". The product is NOT virtual, and has "Normal Shipping Rules". The zip file has the green "valid" dot.

    Now, maybe I'm missing something but I don't see any place where the file can be downloaded. Not anywhere through the order process, nor the received email.

    This is a free product, so perhaps that has some effects.

    Any ideas? Help would be much appreciated.

    With thanks
    John

  2. #162
    Join Date
    Dec 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Quote Originally Posted by lifechangeshop View Post
    Hello,

    I, too, have read through this entire thread - time travel :) - tried all the various options, and still haven't quite got there.

    I would appreciate a wise eye...

    I set-up the Option Name & Option Value as "Free Download" and "Download PDF". The product is NOT virtual, and has "Normal Shipping Rules". The zip file has the green "valid" dot.

    Now, maybe I'm missing something but I don't see any place where the file can be downloaded. Not anywhere through the order process, nor the received email.

    This is a free product, so perhaps that has some effects.

    Any ideas? Help would be much appreciated.

    With thanks
    John
    Ah, I just noticed that the ORDER STATUS is "Pending". How is tha confirmed on a FREE DOWNLOAD?

    Ah ah. :) Now I get it. Once the order is processed, you go into Orders and select "Delivered" and when the customer follows their link to their order - there is now a DOWNLOAD button and completion.

    Phew! It was worth it. Thank you!

    With kind regards
    John
    Thank you.
    John
    Last edited by lifechangeshop; 12 Dec 2008 at 12:44 AM.

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

    Default Re: How to set up downloadable products

    Note: if the Order is Free and you do not need to "check it" you could set up the Free Payment freecharger Payment Module to Processing (orders_status 2) or Delivered (orders_status 3) and the Download(s) would be available immediately ...
    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.5]
    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. #164
    Join Date
    Dec 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Hi Linda,

    Quote Originally Posted by Ajeh View Post
    Note: if the Order is Free and you do not need to "check it" you could set up the Free Payment freecharger Payment Module to Processing (orders_status 2) or Delivered (orders_status 3) and the Download(s) would be available immediately ...
    I gave this a go and set "freecharger" to handle orders "Pending" - but when I ordered it again, the DOWNLOAD button was not available at "Pending" status.

    Am I missing something?

    Many thanks
    John

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

    Default Re: How to set up downloadable products

    Just the part where I mentioned setting the Order Status to either:
    Processing (orders_status 2)
    Delivered (orders_status 3)

    would make for automatically available for Download ...

    Pending (orders_status 1) means you have to approve the Order and change its status (orders_status) to be >= 2 and <= 4 ... before any Downloads can be accessed ...
    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.5]
    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!

  6. #166
    Join Date
    Oct 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Quote Originally Posted by Ajeh View Post
    See the double slashes:


    Notice that they have duplicated the home path as part of that error?

    That means you most likely have something wrong in your configure.php file(s) ...
    Thanks for the response!

    I think that's the point I was trying to get across in the original post?

    Below is a copy of the way the config file was set up on Host Monster with Simple Scripts.

    I'll highlight in red what changes I did.

    Maybe you can tell me what is wrong...or not.

    I realize now that ZC took special precautions for downloads by adding the /pub folder where a temporary pointer file points to the actual download folder.

    However, I was just trying to follow the suggested security steps from the FAQ area. The FAQ said relocating the download folder outside of the public_html folder was the best way to go.....

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.mysite.com');
    define('HTTPS_SERVER', 'http://www.mysite.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/myshop/');
    define('DIR_WS_HTTPS_CATALOG', '/myshop/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

    The following line is what I suspect is causing all of my problems but I've tried changing it every way I can think of so ZC can get past it and recognize the download folder outside of the public dirictory.

    define('DIR_FS_CATALOG', '/home/myusername/public_html/myshop/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/myusername/mydownloads/');

    Tried with and without beginning and trailing slashes, ../, ../../, ../../../, and ../../../../mydownloads/ but I could never get the shopping cart to go back past /home/myusername/public_html/myshop/:




    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'myusername_db1');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxx');
    define('DB_DATABASE', 'myusername_db1');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/myusername/public_html/myshop/cache');

    // EOF

  7. #167
    Join Date
    Dec 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    Hi Linda,



    Quote Originally Posted by Ajeh View Post
    Just the part where I mentioned setting the Order Status to either:
    Processing (orders_status 2)
    Delivered (orders_status 3)

    would make for automatically available for Download ...

    Pending (orders_status 1) means you have to approve the Order and change its status (orders_status) to be >= 2 and <= 4 ... before any Downloads can be accessed ...
    Thank you!
    John

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

    Default Re: How to set up downloadable products

    Glad that this worked for you thanks for the update!
    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.5]
    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!

  9. #169
    Join Date
    Oct 2008
    Location
    Netherlands
    Posts
    27
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    I have read through virtually all the relevant posts, but cannot find anything to help me, and the question is probably very simple.

    I have a downloadable product (Cross stitch pattern in PDF), and when I use the test pdf_sample.zip, everything works 100%, BUT
    when I use my own file the dot next to the filename in the attributes stays red.

    My filename after zipping reads Flower.pdf.zip.

    I zipped the file AFTER it was moved into the /download file. Does this have anything to do with it? Should I perhaps zip it before I upload to the server? (I zipped them as a group).

    Where am I going wrong?

    Thanks.
    Karin

    Listen to your convictions, even if to your reason they seem absurd

  10. #170
    Join Date
    Oct 2008
    Location
    Netherlands
    Posts
    27
    Plugin Contributions
    0

    Default Re: How to set up downloadable products

    My apologies...my filename reads

    Flower_Anchor.pdf.zip
    Karin

    Listen to your convictions, even if to your reason they seem absurd

 

 
Page 17 of 23 FirstFirst ... 71516171819 ... LastLast

Similar Threads

  1. How to set up downloadable products?
    By Scully in forum Setting Up Categories, Products, Attributes
    Replies: 25
    Last Post: 10 May 2012, 06:59 PM
  2. Replies: 13
    Last Post: 3 Oct 2011, 02:22 PM
  3. Replies: 0
    Last Post: 10 Aug 2011, 04:06 AM
  4. How to set unlimited quantity for a downloadable product?
    By hi_there in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Jul 2010, 05:21 PM
  5. How to set up downloadable products?
    By bigglesguy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Aug 2008, 01:02 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR