Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Quote Originally Posted by stevesh View Post
    Thinking outside the box here (literally) but could you make your product listing 2 wide and use the image of the calendar (greyed a little) as a background? It'd take some template work.
    Here's a thought...

    The product listing page still uses TABLES to separate out the list as ODD and EVEN rows.

    In an earlier version of ZC, there was the following bit of CSS that added background colors to each ROW. I still use it on some of my sites.

    Try it if you like... you can change the HEX COLORS (#xxxxxx) to suit your needs. Delete or comment out other declarations as needed.

    All you need do is copy the code below, and paste it at the BOTTOM of stylesheet.css ...

    Code:
    /*from stylesheet original*/
    
    TR.productListing-odd, TR.upcomingProducts-odd {
      background: #E3E3E3;
    }
    
    TR.productListing-even, TR.upcomingProducts-even, .productsNotifications {
      background: #EDEDED;
    }
    
    TD.productListing-data-description-odd {
      background: #ffffff;
      font-size: 10px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid #DEDBCB;
    }
    
    TD.productListing-data-description-even {
      background: #C9F1CF;
      font-size: 10px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid #DEDBCB;
    }

  2. #22
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: SSL Configuration

    You're getting the SOLD OUT image because of your STOCK settings. You have not put a QUANTITY in each product for stock, but you have your stock settings to show "Sold Out" when 0 items in stock.

    Either:-

    Switch of your stock management (ADMIN>>>CONFIGURATION>>>STOCK) - Variuos setting options here.

    Or:-

    Enter a VALUE for each product, in terms of the quantity of stock you have for each item.

  3. #23
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Instead of having TWO products for the same thing...

    1. Order one at $29.95
    2. Additional ones at $24.95

    ... consider having ONE product, but invoke the QUANTITY DISCOUNTS MODULE to handle pricing decrements.

  4. #24
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: SSL Configuration

    I'm going to try that one...I need some color separation, And that would do it. First off though I'm going to convert to jpegs. I'm just glad there isn't 700 images to switch, I should have just 50 or so.

    Again..thanks everyone for your help.

  5. #25
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Quote Originally Posted by stevesh View Post
    By default, Zencart only secures the Login / Create Account pages and the checkout process. There's no need to have the whole site under SSL.
    Stevesh, what does this mean? I have also installed SSL and my log-in page etc do not appear to be secure. If I type https://www.glasscrafts.com.au/store/index.php into the browser, the front page is secure, but moving on to the log-in it's not secure. What do I need to do?

  6. #26
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: SSL Configuration

    Your SSL cert either isn't installed properly, or you've incorrectly edited the configure.php file.

    If you can post the contents of incluudes/configure.php (after removing the login amd password info) we can take a look.

    Remember, you don't want the front page secure - just the Login/Create Account and the checkout pages.

  7. #27
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: SSL Configuration

    I did install the Quantity Discounts Module today, Now I need to start understanding it. It is installed, but I need to figure it out. I'll try over the week-end, If I'm still as dumb then as I am now...I'll send out an S.O.S.

  8. #28
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Quote Originally Posted by stevesh View Post
    Your SSL cert either isn't installed properly, or you've incorrectly edited the configure.php file.

    If you can post the contents of incluudes/configure.php (after removing the login amd password info) we can take a look.

    Remember, you don't want the front page secure - just the Login/Create Account and the checkout pages.
    Stevesh, I'm getting the idea I should have somehow installed the SSL certificate through Zencart Admin ... yes? Whereas I just did the usual install through the control panel then changed the links leading to the store to https://blah.

    Anyway, here's my includes/configure.php:

    <?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 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.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.glasscrafts.com.au');
    define('HTTPS_SERVER', 'https://www.glasscrafts.com.au');

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    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', '/home/glasscra/public_html/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', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxx');
    define('DB_SERVER_PASSWORD', 'xxx');
    define('DB_DATABASE', 'glasscra_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // 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/glasscra/public_html/store/cache');

    ?>

    Thanks for your help. Jen

  9. #29
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: SSL Configuration

    Whoaaa, I just noticed this tidbit:
    define('ENABLE_SSL', 'false');

    and changed it to true, and guess what, appears to work now.
    But for future reference, is there an SSL installation function within Zencart?
    Thanks Stevesh.

  10. #30
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: SSL Configuration

    Quote Originally Posted by jenpen View Post
    But for future reference, is there an SSL installation function within Zencart?
    No, installing an SSL certificate to your hosting account is something that happens entirely outside of Zen Cart.
    All you do in Zen Cart to enable SSL *after you know it's working on your hosting account* is to make the changes you've done

    The process is outlined in the FAQ article: https://www.zen-cart.com/tutorials/index.php?article=14
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v139h SSL configuration
    By keneso in forum General Questions
    Replies: 2
    Last Post: 21 Oct 2012, 01:05 PM
  2. SSL Configuration
    By crazycucumber in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 27 Sep 2006, 01:32 AM
  3. SSL Configuration
    By storiale in forum Basic Configuration
    Replies: 16
    Last Post: 19 Jul 2006, 06:36 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