biili Posted June 12, 2013 Share Posted June 12, 2013 (edited) 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: 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 June 12, 2013 by biili (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted June 12, 2013 Share Posted June 12, 2013 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 More sharing options...
biili Posted June 12, 2013 Author Share Posted June 12, 2013 (edited) Not working .. now if i try to acces my product page its all whyte .. Edited June 12, 2013 by biili (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 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 More sharing options...
biili Posted June 12, 2013 Author Share Posted June 12, 2013 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. Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 Perfect! Now you know why the strip tags are there. You will need some CSS ... Link to comment Share on other sites More sharing options...
biili Posted June 13, 2013 Author Share Posted June 13, 2013 ok but what do i need to do? Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 13, 2013 Share Posted June 13, 2013 How are you creating your Bullet points? Post the code. Link to comment Share on other sites More sharing options...
biili Posted June 13, 2013 Author Share Posted June 13, 2013 <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 More sharing options...
Bill Dalton Posted June 13, 2013 Share Posted June 13, 2013 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 More sharing options...
biili Posted June 16, 2013 Author Share Posted June 16, 2013 No , ive copied from the editor , i use prestashops editor to make Bullet points Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now