Jump to content

Hvordan laver man varenavn længere i productlist ? [Løst]


Homeshop.dk

Recommended Posts

Product-list.tpl og så finde name, bagefter det står der så truncate et eller andet tal, du skal bare lave tallet større :)

Har jeg prøvet Timpet den stod på 35 har sat den til 200 men det ændrer ikke noget....

 

<h3>{if $product.new == 1}<span class="new">{l s='new'}</span>{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:200:'...'}</a></h3>

Link to comment
Share on other sites

I din fil themes/prestashop/product-list.tpl (prøv at klikke) står der:

 

<h3>{if $product.new == 1}<span class="new">{l s='new'}</span>{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}</a></h3>

Du skal rette truncate:35 til noget større. Måske er det den forkerte server, du retter filen på?

 

/Kjeld

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