X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Apply https on some seperate cart pages (https://forum.x-cart.com/showthread.php?t=29125)

mmoskva 02-23-2007 09:43 AM

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?

mmoskva 02-26-2007 10:44 AM

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.

Ene 02-27-2007 04:33 AM

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"); 


mmoskva 02-27-2007 08:19 AM

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?

Ene 02-28-2007 05:10 AM

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.

mmoskva 02-28-2007 06:20 AM

Re: Apply https on some seperate cart pages
 
Ok, thank you!


All times are GMT -8. The time now is 03:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.