Jump to content

can someone tell me why only one word shows up on my product name?


Recommended Posts

Hi I'm using prestashop 1.6. I have loaded products and I have named them all but only one word shows up. It doesn't matter whether it is seen on a computer or mobile device. You still get only one word. For example the name is disney princess bouncer but you only get disney to show. Please see my website @ miamipartysupply.biz

Link to comment
Share on other sites

open the following file

 

themes/yourtheme/modules/product-list.tpl

 

find the following block of code and change the truncate value.  note: this is will affect homefeatrued as when list of products under category

 

always 'save as' to create a back up before making modification.

<h5 itemprop="name">
    {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
    <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
        {$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
    </a>
</h5>

Link to comment
Share on other sites

 

open the following file

 

themes/yourtheme/modules/product-list.tpl

 

find the following block of code and change the truncate value.  note: this is will affect homefeatrued as when list of products under category

 

always 'save as' to create a back up before making modification.

<h5 itemprop="name">
    {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
    <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
        {$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
    </a>
</h5>

It worked but not for the home featured products. any other suggestions? Im using prestashop 1.6. Perhaps there is another .tpl file foe just home featured products?

Link to comment
Share on other sites

There is a homefeatured.tpl file. Actually, there may be more than one.

 

At least there is one for the homefeatured module. That will be in some subdirectory of that module.

 

However, it may also be that your theme has its own version that you can find somewhere below its modules subdirectory.

Link to comment
Share on other sites

I cleared the cache and stI'll nothing. I found the home featured on my theme bot didn't find any code to this. It did seem like it's calling productlist.tpl from the homefeatured. So frustrated!

 

yes, well...I hear your pain. :)  not sure how I can help further...we join in your frustration.

Link to comment
Share on other sites

×
×
  • Create New...