.
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.
Seeing a site (ours is wholesale) is not necessary. Open the code.
For example, tpl_search.php
$content .= zen_draw_form('quick_find', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
That one line is all that is needed. It forces NONSSL mode, meaning, on any page you do a search and the page itself was SSL (say, checkout_payment), you will generate a warning in a browser, depending on your notification settings. In firefox, by default, you get a security warning.
Just so you all know, I found a thread on this where it is admitted it is a "problem" that will be addressed, perhaps via a preference.
http://www.zen-cart.com/forum/showthread.php?t=56885
As it turns out, I guess I more agree with Ajeh's position that it is an undesirable feature. I do like the pages being HTTP when logged in for the most part, as it is faster. Only affects a few possibilities such as search. And as she says, if you fix the search box for example, this in turns means you have to fix the product listing page, which then causes....
In the end, it means all the pages practically will be HTTPS.
sfatula,
Having thought about your issue for a while longer....This will prevent this from happening.
Normally, there ar ony 2 series of actions that switch to SSL - login and checkout.
You could create a login & checkout css that drops the columns so that they are not there during either of these functions as one logging in should log in and checking out is checking out time and the sideboxes are not necessary for these items.
Yeah a work around but maybe a good one
Zen-Venom Get Bitten
Yes, I do see. Hopefully, whatever solution is decided upon by the Zen Cart Team is carefully thought out, which I am sure it always is.
I think I will simply live with it for now.