gorrasriders Posted July 27, 2011 Share Posted July 27, 2011 hi i need add a image in short description for all the products somebody know how do it? i apreciate your answers best regards Link to comment Share on other sites More sharing options...
shokinro Posted July 27, 2011 Share Posted July 27, 2011 a picture is more than 1000 of words. see attached screenshot Link to comment Share on other sites More sharing options...
gorrasriders Posted July 27, 2011 Author Share Posted July 27, 2011 thanks but i cant do product by product i need import you know how do it Link to comment Share on other sites More sharing options...
jhonatan100 Posted August 23, 2011 Share Posted August 23, 2011 a picture is more than 1000 of words. see attached screenshot this option don't work for me look the attachment file is some one know how to fix this please let me know asap thanks in advance Link to comment Share on other sites More sharing options...
shokinro Posted August 23, 2011 Share Posted August 23, 2011 @chichos At short description, because of length limits, I guess PrestaShop has stripped the html tags. Please try it on long description. Link to comment Share on other sites More sharing options...
jhonatan100 Posted August 23, 2011 Share Posted August 23, 2011 @chichos At short description, because of length limits, I guess PrestaShop has stripped the html tags. Please try it on long description. in long description it work perfect but not for short description i need to add a little image but is don't work in the admin panel i can see the image but not in the from office, do you know the code i need to check to fix this Link to comment Share on other sites More sharing options...
jhonatan100 Posted August 23, 2011 Share Posted August 23, 2011 i think i need to modify this <div id="short_description_block"> {if $product->description_short} <div id="short_description_content" class="rte align_justify">{$product->description_short|strip_tags}</div> {/if} {if $product->description} <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> {/if} {if $packItems|@count > 0} <h3>{l s='Pack content'}</h3> {foreach from=$packItems item=packItem} <div class="pack_content"> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)}">{$packItem.name|escape:'htmlall':'UTF-8'}</a> <p>{$packItem.description_short|truncate:100:'...'}</p> </div> Link to comment Share on other sites More sharing options...
jhonatan100 Posted August 23, 2011 Share Posted August 23, 2011 i think i need to modify this <div id="short_description_block"> {if $product->description_short} <div id="short_description_content" class="rte align_justify">{$product->description_short|strip_tags}</div> {/if} {if $product->description} <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> {/if} {if $packItems|@count > 0} <h3>{l s='Pack content'}</h3> {foreach from=$packItems item=packItem} <div class="pack_content"> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)}">{$packItem.name|escape:'htmlall':'UTF-8'}</a> <p>{$packItem.description_short|truncate:100:'...'}</p> </div> problem solved Link to comment Share on other sites More sharing options...
shokinro Posted August 23, 2011 Share Posted August 23, 2011 congratulation! I am glad you fixed you issue and thank for sharing. Link to comment Share on other sites More sharing options...
jhonatan100 Posted September 8, 2011 Share Posted September 8, 2011 congratulation! I am glad you fixed you issue and thank for sharing. Just update my shop to the last version 1.4.4.1 and not i have some issue putting an image in the short description, any help please Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 8, 2011 Share Posted September 8, 2011 Hi chichos, Have you re-edited the code snippet you posted above? -Mike Link to comment Share on other sites More sharing options...
flobristol Posted November 18, 2011 Share Posted November 18, 2011 where can i paste this code? please help, i can not show the short description Link to comment Share on other sites More sharing options...
Recommended Posts