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

Apply https on some seperate cart pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-23-2007, 09:43 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Apply https on some seperate cart pages

On my store I added some new pages. (ie. my_order.php, order_message.php)
Currently these pages are using the HTTP location.

> I would like the new pages to use the HTTPS location. What should I do?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 02-26-2007, 10:44 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Re: Apply https on some seperate cart pages

Anyone know how I can configure other pages to use the HTTPS location insted of using the HTTP?

ex. lets say a page was called order_messages.php; and it is not using the https location.
> I would like this page to use the https location.

*note: I have already created the symlinks.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #3  
Old 02-27-2007, 04:33 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: Apply https on some seperate cart pages

You should edit '<xcart_dir>/https.php' script and alter the following line:

PHP Code:
$https_scripts = array(); 

For example:

PHP Code:
$https_scripts = array("my_order.php","order_message.php"); 
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #4  
Old 02-27-2007, 08:19 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Re: Apply https on some seperate cart pages

Hello Ene,


[first I]

Applied the code changes onto the https.php file:

$https_scripts = array();

(and replaced with)

$https_scripts = array("my_order.php","order_message.php","acc_mana ger.php","my_account.php");




[second, In admin-end I have the checkbox option listed below set to active]
- Use secure login form on a separate page (HTTPS):
- Do not redirect customers from HTTPS to HTTP:



>but, on the xcart store when I accessed the page(s), nothing changed. It just switched back to using the http location?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #5  
Old 02-28-2007, 05:10 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: Apply https on some seperate cart pages

Quote:
Originally Posted by mmoskva
Hello Ene,
>but, on the xcart store when I accessed the page(s), nothing changed. It just switched back to using the http location?

This modification works correctly on my local copy of X-Cart installation. So I suggest to open a support ticket in the HelpDesk.
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #6  
Old 02-28-2007, 06:20 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Re: Apply https on some seperate cart pages

Ok, thank you!
__________________
x-cart 4.0.16v
linux server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 11:35 AM.

   

 
X-Cart forums © 2001-2020