Jump to content

{shop_url} waar te wijzigen?


Lucif

Recommended Posts

Heel veel paginas, my account, bestel history enz.

 

In de emailtemplates staat overal {shop_url} waar hij dus de url vandaan haalt.

Normaal hoort dit alleen de domeinnaam te zijn, en hoort er geen index.php achter te staan.

Maar dat staat er nu op 1 of andere manier wel achter, en daarom werken de links niet.

 

Maar geen idee waar ik de index.php achter de shop url vandaan kan halen.

Link to comment
Share on other sites

  • 2 months later...

Anyone found a solution to this ? It's poorly documented. {shopurl} on our site also points to http://mysite.com/index.php

this BREAKS all links in e-mails etc. as the links now show as http://mysite.com/in...pmy-account.php

 

In other words, as mentioned above, {shopurl} needs to loose the index.php in the URL.

 

WHO can help us ?

 

Prestashop 1.5.3.1

 

change in classes/Mail.php line 250:

 

old line 250:

$template_vars['{shop_url}'] = Tools::getShopDomain(true, true).__PS_BASE_URI__.'index.php';

 

new line 250:

$template_vars['{shop_url}'] = Tools::getShopDomain(true, true).__PS_BASE_URI__.'';

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...