Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

firefox secure warning on shopping cart


1 reply to this topic

#1 jimmyharwood

  • Community Member
  • 35 posts
  • Real Name:Jimmy Harwood
  • Gender:Male
  • Location:Manchester UK

Posted 15 December 2011, 21:21

Hi, is there a way to secure shopping_cart.php? when a customer is logged on, and then goes to the shoppinb cart, the site falls out of SSL - therefore when they take something out of there cart an error is introduced.

This message


Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

Are you sure you want to continue sending this information?

Only happens on Firefox - not on IE or chrome.

I believe it is because information that has been secured on checkout pages has moved back into an unsecure location hence the warning. My thoughts are that if I can make the shopping cart page open in HTTPs secure page the problem will be solved.

Cheers

Jimmy

#2 germ

  • Community Member
  • 13,587 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 15 December 2011, 23:22

The only pages that should be SSL are the ones where sensitive information is exchanged between the client and the server.

The shopping cart doesn't fall into that category.

Try this for a band-aid (without your URL that's all I can offer).

In /catalog/shopping_cart.php change this code:

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>
 

To this:

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product',$request_type)); ?>
 

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >