smarty urls

smarty urls

ruta base prestashop folder

{$urls.base_url}

carpeta css

{$urls.css_url}

 

{$urls.img_ship_url} -> Url directory of images of carriers {$urls.img_store_url} {$urls.img_url} -> Url of the image directory of the template {$urls.css_url} -> Template URL directory url {$urls.js_url} ->Template JS directory url {$urls.pic_url} -> Url file directory uploaded {$urls.pages.address} 

 

{**detectar si es la pagina de inicio o no**}

 

{if $page.page_name =='index'}

 

  <link rel="stylesheet" href="/tendencias/{$urls.css_url}index.css" type="text/css" media="all">

  {else}

  

 <link rel="stylesheet" href="/tendencias/{$urls.css_url}interiores.css" type="text/css" media="all">

 

{/if}