Jump to content

Short description problem.


biili

Recommended Posts

Hey, i've got another problem :) in the small description section i put this text:

  • Category : Peugeot 2.0HD
  • Vehicle : 307.308.407.607
  • Engine : DW10BTED4
  • KW : 100KW
  • Part number : 753556-2
  • Adi number : L9

But when you are not in the product, the small category appears near the photo of the product, unde the title (in the category view).Here is a image that will help you to understand:

 

43226580.png

 

You see what i mean?The text appears like this all messed up.What can I do to make the text look normal like this:

  • Category : Peugeot 2.0HD
  • Vehicle : 307.308.407.607
  • Engine : DW10BTED4
  • KW : 100KW
  • Part number : 753556-2
  • Adi number : L9

 

 

Url : http://efectiv.no-ip.org/aditurbo/index.php?id_category=11&controller=category&id_lang=1

Edited by biili (see edit history)
Link to comment
Share on other sites

hmm, open themes/default.product-list.tpl

 

find this line: (search for 'short'):

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" >{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}</a></p>

 

delete red text. See if that works...

 

My 2 cents,

pascal

Link to comment
Share on other sites

biili, try this,

 

Take out a little more,

|strip_tags:'UTF-8'

 

Example:

 

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'}" >{$product.description_short|truncate:360:'...'}</a></p>

Link to comment
Share on other sites

biili, try this,

 

Take out a little more,

|strip_tags:'UTF-8'

 

Example:

 

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'}" >{$product.description_short|truncate:360:'...'}</a></p>

 

This happened.

 

18132306.png

Link to comment
Share on other sites

<div class="image_info1_content">

<div class="image_info1_content">

<div class="detail">

<ul>

<li><span class="detail_title">Category</span> : FORD 1.6HDI</li>

<li><span class="detail_title">Vehicle</span> : Fiesta,Focus,Fusion</li>

<li><span class="detail_title">Engine</span> : DV6ATED4,HHDA</li>

<li><span class="detail_title">KW</span> : 66KW</li>

<li><span class="detail_title">Part number</span> : 49173-07508</li>

<li><span class="detail_title">Adi number</span> : 097</li>

</ul>

</div>

</div>

</div>

this is the html code from products short description

Link to comment
Share on other sites

biili, you must have copied that from your browser's view source right? I meant how are you inputting your information into the short description editor on your product page?

 

You should use the tools provided with the editor, or if you wish to paste in code you'll need to code your own formatting as well.

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