tdr170 Posted January 3, 2012 Share Posted January 3, 2012 OK here is a strange one when I change to SSL on my shop I get a stange behavior in the log in and log out feature. Here is what happens, I go to my shop and the url is http:// myshop.com/myshop all is ok. Then I click log on and the site switches to https://myshop.ipage.com/myshop which is correct for my shared SSL. As soon as I click on catogories to add products to my cart I am back to http://myshop.com/myshop and the top account area shows Welcome, log in if I click log in it switches to account info and shows me as loged in. When I click logout it logs out, As soon as I click log in I am switched again to my account and shown as logged in, as if I never logged out. If I add products to the cart and then log in it shows no products in cart. I then added the .ipage. part to the shop domain url and log on to shop and it shows https://myshop and I can log in and out ok add products to cart ok . However when I go to catogories to add products the domain chnages to http://myshop.ipage.com/myshop which is incorrect as it should be https:// when the .ipage. is added. with the address configured this way if I add products to cart and then log in the products stay in cart. Any thoughts. I hope I explained this good enough to understand if anyone wants to see I can post the url I am working on this shop so it is not open to public yet, I would like to work out all the bugs first. Link to comment Share on other sites More sharing options...
bellini13 Posted January 3, 2012 Share Posted January 3, 2012 prestashop only displays certain pages securely, that is the authentication pages, checkout, my account etc... adding products to the cart is not a page that requires SSL, since there is not an exchange of secure information. so the issue you are having is that when you login, you are navigating to a different domain ipage.com, and prestashop is creating a secure cookie under that domain. then when you add a product to the cart, you are navigating back to myshop.com, a completely different domain, and therefore a new cookie. I'm not sure you should use a shared SSL, if it is your only option, then you may need to make some customizations to ensure your entire site is under SSL, and therefore under the domain ipage.com Link to comment Share on other sites More sharing options...
tdr170 Posted January 3, 2012 Author Share Posted January 3, 2012 I agree after posting this late last night I realized the problem was the switch between.ipage.com and .com. I was actaully causing prestashop to see two different domains, Is there a way to have the entire shop under the https.mypage.ipage.com./mypage rather then switching between the domains. Is there a way to change the base url so that the entire shop is under the https://. Link to comment Share on other sites More sharing options...
bellini13 Posted January 3, 2012 Share Posted January 3, 2012 Is there a way to change the base url so that the entire shop is under the https://. I am sure it is possible, and would require some changes to the controllers and perhaps some template files. I do not believe there is a setting that would force the entire site to be under SSL. Link to comment Share on other sites More sharing options...
tdr170 Posted January 4, 2012 Author Share Posted January 4, 2012 Thanks for your replies I will have to make a decision on the ssl when I finally go public right know I am still building and testing/debugging. the site is currently a subdomain of a sub domain . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now