In order to activate a secure connection to the website based on Quick.Cart, make the changes to the templates files.
Use a text editor (e.g. Notepad) to change the templates/pages_default.tpl file:
In the section that starts with <!-- BEGIN PRODUCTS_BASKET --> change the href in a tag, adding https://$_SERVER['SERVER_NAME']/
<!-- BEGIN PRODUCTS_BASKET -->
<div class="basket"><a href="https://$_SERVER['SERVER_NAME']/$aData[sBasketPage]&iProductAdd=$aData[iProduct]&iQuantity=1" rel="nofollow">$lang[Basket_add]</a></div>
<!-- END PRODUCTS_BASKET -->
Edit templates/products_default.tpl file.
In the section that starts with <!-- BEGIN BASKET --> change the action in form tag, addinghttps://$_SERVER['SERVER_NAME']/
<!-- BEGIN BASKET -->
<form action="https://$_SERVER['SERVER_NAME']/$sBasketPage" method="post" id="addBasket">
<!-- END BASKET -->
In order to activate a secure connection to the registration login to the admin panel.
In the root set up .htaccess file (if it's not exists) and open it with a text editor (like Notepad). Paste the following lines to the file:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} admin
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
- 41 Users Found This Useful
Related Articles
SSL Installations
SSL installation depends on the type of server you are securing. Please select below the server...
Apache (with mod_ssl)
Installing SSL certificate on Apache with mod_ssl To install certificate you need 2...
Apple Mac OS X Server
Log in to admin server as a root. Create a folder /etc/httpd/ssl.crt/ (if it does not exist)....
Barracuda VPN server
Installing SSL certificate on Barracuda VPN serverImport CertificatesFrom the appliance web...
Cisco ACS Server
Note: If the domain/site certificate is created using CA certificate, you need to repeat steps...
