gsxr1000au Posted March 1, 2014 Share Posted March 1, 2014 In the back office i have made bullet points in the Short Description but in the shop front there is not bullet points ad the text is continuous. I would like line breaks between the lines or the info just looks muddled. Link to comment Share on other sites More sharing options...
vekia Posted March 1, 2014 Share Posted March 1, 2014 about what part of page you're talking? featured products? product list in categories? Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 2, 2014 Author Share Posted March 2, 2014 It is the same in both Product list in categories and Featured products. Link to comment Share on other sites More sharing options...
vekia Posted March 2, 2014 Share Posted March 2, 2014 it's because you've got in code something like $product.description_short||strip_tags you have to remove all instances of |strip_tags modifier from $product.description_short variable remember, that if you remove |strip_tags, you jave to remove also |truncate because your code will have got unclosed html tags Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 3, 2014 Author Share Posted March 3, 2014 Where do I locate this code? Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 in each part of website, where the short description appears, for example: product-list.tpl from your theme directory (lists of products in categories) homefeatured.tpl from /modules/homefeatured/ directory (featured products on homepage) Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 4, 2014 Author Share Posted March 4, 2014 Are you able to post an example of the code before and after? I tried but it doesn't seem to work. The page either does load or is messed up. Thanks Link to comment Share on other sites More sharing options...
vekia Posted March 4, 2014 Share Posted March 4, 2014 homefeatured.tpl instead of {$product.description_short|strip_tags|truncate:65:'...'} use {$product.description_short} Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 16, 2014 Author Share Posted March 16, 2014 This doesn't work for me.. Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2014 Share Posted March 17, 2014 This doesn't work for me.. make sure that you changed correct file, also, after modifications it's necessary to rebuild shop cache due to the fact that this module uses caching. Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 17, 2014 Author Share Posted March 17, 2014 Ok i'll try again and let you know. Thanks for your help with this Link to comment Share on other sites More sharing options...
gsxr1000au Posted March 17, 2014 Author Share Posted March 17, 2014 ok.. I changed the homefeatured.tpl and still no bullet points on the featured products on the home page: http://www.tabletenniswest.com.au (note the Tendergy 05-FX), also in the product page the data features now show up under the long description. http://www.tabletenniswest.com.au/home/13-butterfly-tenergy-05-fx.html I dont want this. Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2014 Share Posted March 17, 2014 your description doesnt display any kind of list markups, i suppose that it still shows old value of your description due to the caching feature. Link to comment Share on other sites More sharing options...
cleaner Posted March 30, 2014 Share Posted March 30, 2014 In the back office i have made bullet points in the Short Description but in the shop front there is not bullet points ad the text is continuous. I would like line breaks between the lines or the info just looks muddled. I'd like to add bulletted list to longer product description, but I've trying to figure it out why i do not have "bullet" mode on my Tinymce at all? If i hit unordered list button, it does not create bulletted list on BO or in SF either. Even if i use Html editor to create bulletted list, all bullets are removed in BO and SF. It's like my purchaced template is doing some limitations? Is it possible? Link to comment Share on other sites More sharing options...
vekia Posted March 30, 2014 Share Posted March 30, 2014 tinymce uses the same styles as your front-office if you front office doesnt display bullets - tinymce will not display bullets too Link to comment Share on other sites More sharing options...
cleaner Posted April 2, 2014 Share Posted April 2, 2014 Okay, thanks for clarifying this. Generally speaking, is it possible to add option for bullet type of listing by editing some specific file of theme or .tpl? Link to comment Share on other sites More sharing options...
Petter B Posted April 11, 2014 Share Posted April 11, 2014 I´m interested in this too. Bullet lists works in short description on product view, but not in category list view. (PS 1.6 default theme customized) Link to comment Share on other sites More sharing options...
donut42 Posted May 7, 2014 Share Posted May 7, 2014 (edited) after deleted the "strip_tags" ,change the <p> tag to <a> tag. before <p class="product-desc" itemprop="description">{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}</p> after <a class="product-desc" itemprop="description">{$product.description_short}</a> now html tags are showing in my short description under list view mode Edited May 7, 2014 by donut42 (see edit history) Link to comment Share on other sites More sharing options...
Petter B Posted May 8, 2014 Share Posted May 8, 2014 In what file? Link to comment Share on other sites More sharing options...
vekia Posted May 8, 2014 Share Posted May 8, 2014 I´m interested in this too. Bullet lists works in short description on product view, but not in category list view. (PS 1.6 default theme customized) you have to do the same for product-list.tpl file Link to comment Share on other sites More sharing options...
Petter B Posted May 11, 2014 Share Posted May 11, 2014 Sorry, does not work for me... Is there a workaround? Link to comment Share on other sites More sharing options...
vekia Posted May 11, 2014 Share Posted May 11, 2014 can you show how your description code looks like ? (from product-list.tpl file) Link to comment Share on other sites More sharing options...
Petter B Posted May 11, 2014 Share Posted May 11, 2014 (edited) I guess it´s this one? {hook h='displayProductListReviews' product=$product} <p class="product-desc" itemprop="description"> {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} </p> Edited May 11, 2014 by Petter B (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted May 11, 2014 Share Posted May 11, 2014 Just a thought, and I do not know if this will work for you, but for me, I use the following format. <ul> <li type="square">Some Important Bullet Point</li> </ul> By defining an <li type> in my case "square" TinyMCE recognizes it as a bullet and places a bullet in place. If you do not define a "type" you get no bullet. Link to comment Share on other sites More sharing options...
vekia Posted May 11, 2014 Share Posted May 11, 2014 you ahve there strip_tags modifier. this causing problem. remember that if you remove it, you have to remove also truncate Link to comment Share on other sites More sharing options...
Petter B Posted May 12, 2014 Share Posted May 12, 2014 (edited) Unfortunately, none of the above worked for me... Removing strip_tags removes the whole short description. Guess I will have to make it without the bullets. Thanks for your help though Edited May 12, 2014 by Petter B (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2014 Share Posted May 12, 2014 Removing strip_tags removes the whole short description. show the code, how it look like after your modifications. Link to comment Share on other sites More sharing options...
Petter B Posted May 12, 2014 Share Posted May 12, 2014 Before: <p class="product-desc" itemprop="description"> {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'} </p> After: <p class="product-desc" itemprop="description"> {$product.description_short} </p> Also tried: <a class="product-desc" itemprop="description">{$product.description_short}</a> as donut42 suggested above. Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2014 Share Posted May 12, 2014 strange so now what you see if you're browsing product listings? when you check page source, <p> elements are empty? <p class="product-desc" itemprop="description"> Link to comment Share on other sites More sharing options...
Petter B Posted May 12, 2014 Share Posted May 12, 2014 (edited) Please have a look yourself: http://dev.alternativ.nu/butik/16-books At first load of page the short desc shows in grid view, but still no formatting. When clicking the grid view button ("kort beskrivning") they dissapear, and , <p> elements are empty. Edited May 12, 2014 by Petter B (see edit history) Link to comment Share on other sites More sharing options...
Nando112 Posted July 4, 2014 Share Posted July 4, 2014 strange so now what you see if you're browsing product listings? when you check page source, <p> elements are empty? <p class="product-desc" itemprop="description"> Hi vekia, I have the same problem, have It any solution? Id Like to an HTML mp3 player on category product list but I cant. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2014 Share Posted July 4, 2014 remove |strip_tags modifier from short_description variable in product_list.tpl file Link to comment Share on other sites More sharing options...
Nando112 Posted July 4, 2014 Share Posted July 4, 2014 (edited) remove |strip_tags modifier from short_description variable in product_list.tpl file Thanks for the reply, I have tried with: {$product.description_short|truncate:360:'...'} and {$product.description_short} 1st Picture Product view with Mp3 Player 2nd Picture: Category view doesnt show Mp3 Player But it doesnt work, i use PS 1.6 Regards Edited July 4, 2014 by Nando112 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 5, 2014 Share Posted July 5, 2014 and you also followed elpatron suggestion related to modification of controller? 1 Link to comment Share on other sites More sharing options...
El Patron Posted July 5, 2014 Share Posted July 5, 2014 just a note: the reason that ps does not allow html in short description is this can/will affect your sitemap. The short description is used for the image description, so if you hack core, this can lead to 'bad results' for your sitemap and possible for seo bots. so if you do change core, make sure to run sitemap and review short desc. also using google webmaster tools, test product with fetch. my advice? do not change core (you will lose changes when upgraded), do not add html to make things pretty when they will have adverse affects to more important parts of your shops seo. 2 Link to comment Share on other sites More sharing options...
Nando112 Posted July 7, 2014 Share Posted July 7, 2014 Thanks vekia and El Patron for the replies, and excuse me for not answer you before. I Understand you say me, but Is there any alternative to embed Mp3 Player in the Products category view short description? My shop is about music and I need them to show the music. But I dont want this affects SEO, Is there any solution? Link to comment Share on other sites More sharing options...
bestbuycyprus Posted November 4, 2015 Share Posted November 4, 2015 Good morning hope someone can help me as I can not get FO to show BO short and long descriptions bullet list and format not showing up on product page. Hope someone can help me. here is a link of one product http://ezbuyltd.com/3456-lg-american-refrigeration.html Link to comment Share on other sites More sharing options...
Recommended Posts