Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

https:// for Cart.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-17-2011, 05:32 AM
  RedandBlue's Avatar 
RedandBlue RedandBlue is offline
 

Senior Member
  
Join Date: Aug 2009
Posts: 170
 

Exclamation https:// for Cart.php

how can i make it when customer goes to the cart.php page
then it should go for https:// instead of http://

can any one help me with this.

thanks

Version 4.2
__________________
rbgx
X-Cart 4.3.2
Reply With Quote
  #2  
Old 01-17-2011, 06:42 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Re: https:// for Cart.php

AFAIK there's no option to switch to https when a customer goes to their shopping basket.
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #3  
Old 01-17-2011, 08:52 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: https:// for Cart.php

You don't need it at that point and it will only slow down the site.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 01-20-2011, 05:33 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: https:// for Cart.php

If it is required for some reason, you can try the following:

replace this code:
PHP Code:
$https_scripts[] = "secure_login.php"

with this:
PHP Code:
$https_scripts[] = "secure_login.php";
$https_scripts[] = "cart.php"

in "https.php" script.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 04-18-2014, 08:42 AM
 
AHF AHF is offline
 

Newbie
  
Join Date: Dec 2011
Posts: 3
 

Default Re: https:// for Cart.php

Thanks for this solution in the https.php file. It may just be my opinion, but when I'm in the checkout process on the one page checkout and I don't see the https in the URL bar, I'm not proceeding if I'm a regular customer that doesn't know when I hit 'submit' it then switches to https AFTER I enter my credit card info.
__________________
xcart 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:12 AM.

   

 
X-Cart forums © 2001-2020