Jump to content

Prestashop 1.6.1.3 cannot load card with different ssl url


dmr-electronics

Recommended Posts

Hello, ( excuse my English is not that good :)

I have a shop running on base URL www.xxx.com with ssl cert to xxx.com.

The shop runs in the route of the hosting server and stays in the same place

 

I want to change www.xxx.com to www.yyy.com and keep the ssl URL as is ( xxx.com), again shop stays at the same place in the server.

 

When i change base URL to www.yyy.com and keep ssl URL in place xxx.com then shop runs oke with the new base URL.

 

Problem:

When i ad a product to the card the ssl url is loading ----> next to purchase the product is gone.

I have search over the forum and cannot find a good solution to fix this.

 

Is their a good work arround to fix this?

 

FYI, Iam not planning to by a new SSL Cert,

 

Hope some one can point me to the right direction.

Link to comment
Share on other sites

Prestashop, like many other web software, uses cookies.  Cookies are added to browsers based on domains, and cannot be shared across domains.

 

So how would you expect a cookie that was placed on xxx.com to be viewed when you visit yyy.com ?

 

Prestashop was not designed to work in such a way that you want.

Link to comment
Share on other sites

Thank you for your response bellini.

 

I agree the cookie thing and also reason why it is not standard possible cause of security reasons.

 

Iam wondering how for example, If you have account on Blogger & YouTube which are on external domains, when you log in via accounts.google.com you are redirected to a page that says “Please Wait…”, right ? If you look at the source code of the page, you can see the <img> tags of youtube.com and blogger.comdomain. So it seems that, Google is using the same way to set login information cookie on YouTube and Blogger.

 

Thats why i questioned this.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...