Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2014
    Location
    Bellingham, WA
    Posts
    10
    Plugin Contributions
    0

    Default Re: Add To Cart button Not Working

    In our Configure.php it does have the SSL enabled.

    I will switch the template on our dev site to classic and see if it still has the issue or not.

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

    Default Re: Add To Cart button Not Working

    While you may have it enabled, do you have both of these set to https?
    Code:
      define('HTTP_SERVER', 'http://www.your_domain_here.com');
      define('HTTPS_SERVER', 'https://www.your_domain_here.com');
    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
    Feb 2014
    Location
    Bellingham, WA
    Posts
    10
    Plugin Contributions
    0

    Default Re: Add To Cart button Not Working

    This is what we have:

    Code:
      // 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', 'https://launchingsuccess.com/store');
      define('HTTPS_SERVER', 'https://www.launchingsuccess.com/store');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');

    On our DEV site, when I enable any of the other themes, they all work, but with the currant theme, it doesn't.. so it appears to very definitely be in the theme that our old developer created.. But as this is the first time I've used ZenCart specifically, I'm not 100% on where to be looking to fix it.

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

    Default Re: Add To Cart button Not Working

    I would suggest that you post your whole files for:
    /includes/configure.php
    /your_secret_admin/includes/configure.php

    WARNING: Do NOT post your secret admin directory name, username and password ...

    From what I can see, there are several things wrong with them ...
    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!

  5. #5
    Join Date
    Feb 2014
    Location
    Bellingham, WA
    Posts
    10
    Plugin Contributions
    0

    Default Re: Add To Cart button Not Working

    This is the /includes/configure.php - I've *****'d out areas.
    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.9
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * File Built by zc_install on 2012-08-09 09:18:52
     */
    
    
    /*************** 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', 'https://launchingsuccess.com/store');
      define('HTTPS_SERVER', 'https://www.launchingsuccess.com/store');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // 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', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      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/
      define('DIR_FS_CATALOG', '/*****/*****/launchingsuccess/store/');
    
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      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', 'mysql.*****.com');
      define('DB_SERVER_USERNAME', '*****');
      define('DB_SERVER_PASSWORD', '*****');
      define('DB_DATABASE', '*****');
      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', 'file'); 
      define('DIR_FS_SQL_CACHE', '/*****/*****/launchingsuccess/store/cache');
    
    // EOF






    This is the /your_secret_admin/includes/configure.php - also *****'d out


    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.9
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * File Built by zc_install on 2012-08-09 09:18:52
     */
    
    
    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
    
    // Define the webserver and path parameters
      // Main webserver: eg-http://www.your_domain.com - 
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
      /* 
       * URLs for your site will be built via:  
       *     HTTP_SERVER plus DIR_WS_ADMIN or
       *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
       *     HTTP_SERVER plus DIR_WS_CATALOG or 
       *     HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
       * ...depending on your system configuration settings
       *
       * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
       */
      define('HTTP_SERVER', 'https://www.launchingsuccess.com/store');
      define('HTTPS_SERVER', 'https://www.launchingsuccess.com/store');
      define('HTTP_CATALOG_SERVER', 'https://www.launchingsuccess.com/store');
      define('HTTPS_CATALOG_SERVER', 'https://www.launchingsuccess.com/store');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'true');
      define('ENABLE_SSL_ADMIN', 'true');
    
    // 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_ADMIN', '/*****/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', '/*****/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    
    // * 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/
      define('DIR_FS_ADMIN', '/*****/*****/launchingsuccess/store/*****/');
      define('DIR_FS_CATALOG', '/*****/*****/launchingsuccess/store/');
    
      define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    
    // define our database connection
      define('DB_TYPE', 'mysql');
      define('DB_PREFIX', '');
      define('DB_SERVER', 'mysql.*****.com');
      define('DB_SERVER_USERNAME', '*****');
      define('DB_SERVER_PASSWORD', '*****');
      define('DB_DATABASE', '*****');
      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', '/*****/*****/launchingsuccess/store/cache');
    
    // EOF

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

    Default Re: Add To Cart button Not Working

    These should read:
    Code:
      define('HTTP_SERVER', 'http://www.your_domain_name.com');
      define('HTTPS_SERVER', 'https://www.your_domain_name.com');
    These should read:
    Code:
      define('DIR_WS_CATALOG', '/store/');
      define('DIR_WS_HTTPS_CATALOG', '/store/');

    These should read:
    Code:
      define('HTTP_SERVER', 'http://www.your_domain_name.com');
      define('HTTPS_SERVER', 'https://www.your_domain_name.com');
      define('HTTP_CATALOG_SERVER', 'http://www.your_domain_name.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.your_domain_name.com');
    These should read:
    Code:
      define('DIR_WS_ADMIN', '/store/your_secret_admin/');
      define('DIR_WS_CATALOG', '/store/');
      define('DIR_WS_HTTPS_ADMIN', '/store/your_secret_admin/');
      define('DIR_WS_HTTPS_CATALOG', '/store/');

    I prefer to use for this on both files:
    Code:
      define('SQL_CACHE_METHOD', 'database');
    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!

  7. #7
    Join Date
    Feb 2014
    Location
    Bellingham, WA
    Posts
    10
    Plugin Contributions
    0

    Default Re: Add To Cart button Not Working

    Thanks for those tips, I've updated both of these files! :)

    Still trying to figure out the products on the list page to start adding to the cart. Hrmpf.

 

 

Similar Threads

  1. Add to Cart button not working
    By jenkins2212 in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2014, 10:10 PM
  2. Add to cart button not working in IE
    By aditya369 in forum General Questions
    Replies: 3
    Last Post: 7 Mar 2012, 11:39 AM
  3. add to cart button not working in IE
    By maperr55 in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2011, 02:47 PM
  4. 'add to cart' button not working well
    By george_usa in forum General Questions
    Replies: 1
    Last Post: 2 Dec 2010, 07:11 AM
  5. Add to cart button not working
    By tasniem in forum Customization from the Admin
    Replies: 3
    Last Post: 16 Aug 2010, 10:40 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