Jump to content

How to configure Prestashop with Domain type IDN for change all urls links in ecoomerce?


Recommended Posts

Hi, I'm Spanish and I have a Domain IDN type in my store with letter Ñ

This is causing me some problems to change the links that are seen in the ecommerce source code.

First I tried by the default method:

In the control panel Configuration / advanced parameters / SEO and URL.

And the page returned an error.

Second, I thought about going modifying all the .tpl templates. but there are fields that do not know php do not know how to change them.

Example:

stylesheets.tpl

{foreach $ stylesheets.external as $ stylesheet}
<link rel = "stylesheet" href = "{$ stylesheet.uri}" type = "text / css" media = "{$ stylesheet.media}"> {/ foreach} {foreach $ stylesheets.inline as $ stylesheet}
<style>
    {$ stylesheet.content}
</ style>
{/ foreach}

Change for:

{foreach $ stylesheets.external as $ stylesheet}
<link rel = "stylesheet" href = "myñdomain.es {$ stylesheet.uri}" type = "text / css" media = "{$ stylesheet.media}"> {/ foreach} {foreach $ stylesheets.inline as $ stylesheet}
<style>
    {$ stylesheet.content}
</ style>
{/ foreach}

How is the correct way to make this changes?

 

Thanks

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