SsimonJohansson Posted October 14, 2014 Share Posted October 14, 2014 Hello! The short description are not showing in my store? On a mobile device I can see it but not on my desktop. This is the site: http://ledkompaniet.se/index.php? Why is this? Thanks in advance! //Simon Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 Is there a smarty variable $product.description_short in your .tpl file? Maybe your custom theme is missing this variable. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 (edited) Hello,Thanks for the fast reply!I'm guessing you mean the "product.tpl"? In that case yes, it looks like it is missing. I tried to swap the "product.tpl" file for a new one but no difference. Where should i put this short code?EDIT: I found this "$product->description_short"? Edited October 14, 2014 by SsimonJohansson (see edit history) Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 No, you need to look, i.e., in product-list.tpl if you want your description to appear in category page. I guess, the same .tpl file is used to display products on homepage, but I am not sure about this. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 Oh I see. Found a row like this "{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" So I guess this is not the problem? Link to comment Share on other sites More sharing options...
ventura Posted October 14, 2014 Share Posted October 14, 2014 (edited) look at this part in your global.css file .pb-center-column #short_description_block .buttons_bottom_block { display: none; } remove the display:none part Edited October 14, 2014 by ventura (see edit history) Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 Does your products contain short description? Because I can see a description for one product. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 (edited) look at this part in your global.css file .pb-center-column #short_description_block .buttons_bottom_block { display: none; } remove the display:none part Actually I feel quite stupid right now, can't find a row in the global.css file that says ".pb-center-column #short_description_block .buttons_bottom_block {"? Does your products contain short description? Because I can see a description for one product. Well, the product with the name "Klotlampa LED E27 2W" does. Ok, that's interesting, because I can't? EDIT: Now all of the products should contain a short description. Edited October 14, 2014 by SsimonJohansson (see edit history) Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 It shows up in category page, if viewing as a list. For grid view, by default, it doesn't show a description. But this is the same for default bootstrap theme. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 (edited) It shows up in category page, if viewing as a list. For grid view, by default, it doesn't show a description. But this is the same for default bootstrap theme. That's odd. I can not see the short description even if viewing as a list. What I mean is not that I want the short description to show in category page, but in the product page itself. Edited October 14, 2014 by SsimonJohansson (see edit history) Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 Maybe put a screenshot of what you see and what you want to see? Because I don't understand, I see short description in product page, and I can see short description in category page, when viewing as a list. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 Below you can see what I mean. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 Someone? Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 Maybe try to clear your browser's cache? Here's the screenshot of product with ID 22: Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 I can't get my head around this one. Happy to see that you see it at least. But for me, nothing, I have cleared my browsers cache and rebooted my computer. I have tried several computers at the office, but still nothing. It would be nice to see what I am working with, haha. Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 I have no idea what's going on, because I tested it on Internet Explorer - everything's OK for me I'll be glad to hear if you solve this problem and how you did it. Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 14, 2014 Author Share Posted October 14, 2014 Still haven't found a solution for this. Short description aren't showing on the computers at home either. Anyone who has some feedback on this? Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 15, 2014 Author Share Posted October 15, 2014 Ok, so now I have replaced the entire "default-bootstrap" map with a untouched one. Nothing changed. Now I'm heading towards a clean install if I can't solve this in a day or two. Someone got to have the answer for me? Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 15, 2014 Author Share Posted October 15, 2014 (edited) Now I am quite angry with myself because I did not make a copy of my previous theme folder before I replaced it. Anyway this problem is solved now. In the backoffice where you write the desciption I had to change the language to Swedish (sv). I use English in my backoffice that's why I have to languages installed. Below you see a picture of what I mean. Thanks guys for all the help. Hope someone can find this useful in the future. Edited October 15, 2014 by SsimonJohansson (see edit history) Link to comment Share on other sites More sharing options...
prestamax Posted October 15, 2014 Share Posted October 15, 2014 Look in your product_list.css line 205, find ul.product_list.grid > li .product-container .product-desc { display: none; } and change it to ul.product_list.grid > li .product-container .product-desc { display: block; } and it will look like this 1 Link to comment Share on other sites More sharing options...
DrunkBug Posted October 15, 2014 Share Posted October 15, 2014 Now I am quite angry with myself because I did not make a copy of my previous theme folder before I replaced it. Anyway this problem is solved now. In the backoffice where you write the desciption I had to change the language to Swedish (sv). I use English in my backoffice that's why I have to languages installed. Below you see a picture of what I mean. Thanks guys for all the help. Hope someone can find this useful in the future. Glad you solved your problem, but you ALWAYS have to mention all small details about your shop - like in this case, that you use multiple languages, I didn't noticed that And in multi language shop, always test the behaviour for all languages Link to comment Share on other sites More sharing options...
SsimonJohansson Posted October 15, 2014 Author Share Posted October 15, 2014 Glad you solved your problem, but you ALWAYS have to mention all small details about your shop - like in this case, that you use multiple languages, I didn't noticed that And in multi language shop, always test the behaviour for all languages Didn't know that it mattered. But when I think about it, it sounds pretty logic Link to comment Share on other sites More sharing options...
Recommended Posts