If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Windows Server / SSL Configuration

SSL Configuration

Locked

Started by baddco on 3 Aug 2008, 2:47 PM · Views: 6,342

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
4 Aug 2008, 3:45 PM
#21
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

SSL Configuration

stevesh:

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 ...

/*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;
}
4 Aug 2008, 3:53 PM
#22
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

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.

4 Aug 2008, 3:57 PM
#23
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

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.

5 Aug 2008, 12:56 PM
#24
baddco avatar

baddco

New Zenner

Join Date:
Jul 2008
Posts:
19
Plugin Contributions:
0

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.

6 Aug 2008, 2:01 AM
#25
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: SSL Configuration

stevesh:

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 Aug 2008, 10:32 AM
#26
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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 Aug 2008, 4:14 AM
#27
baddco avatar

baddco

New Zenner

Join Date:
Jul 2008
Posts:
19
Plugin Contributions:
0

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.

7 Aug 2008, 7:29 AM
#28
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: SSL Configuration

stevesh:

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

7 Aug 2008, 7:37 AM
#29
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

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.

7 Aug 2008, 8:09 AM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: SSL Configuration

jenpen:

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.

7 Aug 2008, 2:00 PM
#31
baddco avatar

baddco

New Zenner

Join Date:
Jul 2008
Posts:
19
Plugin Contributions:
0

Re: SSL Configuration

Now I have a totally stupid question.

While testing out the program and explaining it to those who will be using it a credit card number appeared, And as it should be the the first/last four digits are visible, and the inner digits are all X's My question...Where do I need to go to see the entire number?

We're thinking on going just to Pay Pal to eliminate this...but until then.

Again,

Thank You

19 Aug 2008, 3:56 PM
#33
baddco avatar

baddco

New Zenner

Join Date:
Jul 2008
Posts:
19
Plugin Contributions:
0

Re: SSL Configuration

OK...All figured out, Thank You all...Very Much.

I'm now dealing with the NY taxes...Not a fun thing neither.

I did use the one script that looks very close to the old green bar paper, that really looks nice, Thank-You so much for that.