bayyuPratama Posted February 28, 2014 Share Posted February 28, 2014 Excuse me, i will set column at the categories product, how i can change it? and how to delete picture at the subcategories? (i will not use picture for my subcategories) thanks Link to comment Share on other sites More sharing options...
vekia Posted February 28, 2014 Share Posted February 28, 2014 to delete pictures for subcategories: category.tpl and remove this code: <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}" class="img"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> 1 Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 3, 2014 Author Share Posted March 3, 2014 to delete pictures for subcategories: category.tpl and remove this code: <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}" class="img"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> oke, 1 problem solved,.. thanks vekia and then how to set 3 column become 4 column ? Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 without url it will be hard to say, you use non default theme, so if it is possible - please share url to your shop Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 3, 2014 Author Share Posted March 3, 2014 without url it will be hard to say, you use non default theme, so if it is possible - please share url to your shop i use default them vekia ,.. oke, this is the url http://aerishsub.web.id/index.php Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 omg i missed fact that you use prestashop 1.6 not 1.5 my bad, sorry inside product-list.tpl file you've got something like {if $page_name !='index' && $page_name !='product'} {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} {else} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=3} {assign var='nbItemsPerLineMobile' value=2} {/if} to change number of items, just change values of these options 2 Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 3, 2014 Author Share Posted March 3, 2014 omg i missed fact that you use prestashop 1.6 not 1.5 my bad, sorry inside product-list.tpl file you've got something like {if $page_name !='index' && $page_name !='product'} {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} {else} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=3} {assign var='nbItemsPerLineMobile' value=2} {/if} to change number of items, just change values of these options oke no problem i set the nbItemsPerLine values to 5, but nothing happen at http://aerishsub.web.id/index.php?id_category=21&controller=category&id_lang=1 whats wrong? Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 after changes in tpl files make sure that you recompiled theme (and cleared cache too) Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 3, 2014 Author Share Posted March 3, 2014 after changes in tpl files make sure that you recompiled theme (and cleared cache too) clear cache=themes>themesname>cache am i right? and how to recompile theme? Link to comment Share on other sites More sharing options...
vekia Posted March 4, 2014 Share Posted March 4, 2014 prefereces >performance there is an option to turn on "force compile" Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 6, 2014 Author Share Posted March 6, 2014 prefereces >performance there is an option to turn on "force compile" where i change the value? i set {if $page_name !='index' && $page_name !='product'} {assign var='nbItemsPerLine' value=3} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} to {if $page_name !='index' && $page_name !='product'} {assign var='nbItemsPerLine' value=4} {assign var='nbItemsPerLineTablet' value=2} {assign var='nbItemsPerLineMobile' value=3} but this is the result http://aerishsub.web.id/index.php?id_category=21&controller=category&id_lang=1 Link to comment Share on other sites More sharing options...
bayyuPratama Posted March 9, 2014 Author Share Posted March 9, 2014 prefereces >performance there is an option to turn on "force compile" up Link to comment Share on other sites More sharing options...
JDStar Posted March 17, 2014 Share Posted March 17, 2014 Change in global.css around line 850: .col-md-4 { width: 25%; } 1 Link to comment Share on other sites More sharing options...
ender666 Posted May 4, 2014 Share Posted May 4, 2014 it works, thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts