Jump to content

crazyjack99

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

crazyjack99's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, I am having some problems finding out how to edit the lenght of the product names. so it will be full length of the product name and not like halfproductna...... I am using prestashop 1.7.2.3 I hope someone can be so kind to help me out with this little problem.. Have a nice day
  2. Hi, Thanks for your message... I have been looking at the category.tpl file, and i have tried removing. {if isset($subcategories)} With no luck... hope you can be so kind to help me out again.... Here is mu category.tpl file {include file="$tpl_dir./errors.tpl"} {if isset($category)} {if $category->id AND $category->active} {if $scenes || $category->description || $category->id_image} <div class="content_scene_cat"> {if $scenes} <div class="content_scene"> <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {if $category->description} <div class="cat_desc rte"> {if Tools::strlen($category->description) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div>{$category->description}</div> {/if} </div> {/if} </div> {else} <!-- Category image --> <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> {/if} </div> {/if} <h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1> {if isset($subcategories)} {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <ul class="clearfix"> {foreach from=$subcategories item=subcategory} <li> <div class="subcategory-image"> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img"> {if $subcategory.id_image} <img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> </div> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if} {/if} {if $products} <div class="content_sortPagiBar clearfix"> <div class="sortPagiBar clearfix"> {include file="./product-sort.tpl"} {include file="./nbr-product-page.tpl"} </div> <div class="top-pagination-content clearfix"> {include file="./product-compare.tpl"} {include file="$tpl_dir./pagination.tpl"} </div> </div> {include file="./product-list.tpl" products=$products} <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="./product-compare.tpl" paginationId='bottom'} {include file="./pagination.tpl" paginationId='bottom'} </div> </div> {/if} {elseif $category->id} <p class="alert alert-warning">{l s='This category is currently unavailable.'}</p> {/if} {/if}
  3. Hi... Here is a screen photo to explain what i am looking for.... any ideas please?
  4. Hi everyone... I hope someone can be so kind to help me out with a little problem.. I want to remove the sub-categories from the product page, and still keep the categories images in the header with each of catetories.. I am using 1.6.1.1. Thanks..
  5. Hi Paul.... Thanks for your help.... Worked perfectly..... again thanks... ..
  6. Hi everyone... I have been pulling my hair of my head the last couple of days to fix this little problem i have, and therefore i hope someone can help me out abit.. I want to add the reference code/text under the product name in the product list. i have an online candy/ chocolate store, and there i want the product list to look the like: Snickers (product name) 48 x 51g (reference text /code) --- this is want i want added.. £12.95 (price) Have is a photo, to give you are better idea, what i am talking about... Hope some kan help me out abit.... thanks..
  7. Hi everyone.. I hope someone can help me out abit, as i seem to have some problems here.. I am trying to add the reference code text to the product listing... Like the following to be shown in the product list on the site: [image] [Product Name] [Reference Code] [Price] Hope someone got some good ideas....
  8. Hi, Can anyone help me out with a little problem.. I am trying to change the font sizes on the product name in the listing in the categories.. I have looked around in the css files and cant seem to find it anywhere... Thanks...
×
×
  • Create New...