tadas.karosas Posted July 8, 2015 Share Posted July 8, 2015 I don't know how to express myself, I would like to make similar connection between left sidebar and right menu. Is it possible in prestashop? Didn't find anything in forums or could not find it. Can somebody help me with that? Do I need some module? Or is it possible to make it in prestashop without modules? Link to comment Share on other sites More sharing options...
NemoPS Posted July 8, 2015 Share Posted July 8, 2015 What do you exactly mean by "connection"? The one on the right appears to be the subcategories list anyway Link to comment Share on other sites More sharing options...
tadas.karosas Posted July 8, 2015 Author Share Posted July 8, 2015 You can choose to click on the left to open the subcategory or category with products, or you can click on the image on the right to do the same. Its opportunity for customer how he likes to navigate through the site. You can visit http://www.darboirankiai.lt/ and maybe it will be more clear what i want. Link to comment Share on other sites More sharing options...
tadas.karosas Posted July 8, 2015 Author Share Posted July 8, 2015 At my site it is only products shown, not the same subcategories on the right http://www.e-autoservisams.lt/lt/66-ventiliai Link to comment Share on other sites More sharing options...
NemoPS Posted July 10, 2015 Share Posted July 10, 2015 Ah! Is it 1.6? You can turn subcategories on with the back office theme configurator if so. Otherwise, your template simply doesn't support them Link to comment Share on other sites More sharing options...
tadas.karosas Posted July 10, 2015 Author Share Posted July 10, 2015 My prestashop is 1.5.3.1 if I will upgrade prestashop to 1.6 version, will it be some problems with my website? Or should i do my back-up? Thanks for the answer. Link to comment Share on other sites More sharing options...
NemoPS Posted July 10, 2015 Share Posted July 10, 2015 There will, as your template would certainly not be compatible. You can have a look at the default 1.5 category.tpl and add subcat back, like by adding this {if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} <li class="clearfix"> <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> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> {if $subcategory.description} <p class="cat_desc">{$subcategory.description}</p> {/if} </li> {/foreach} </ul> <br class="clear"/> </div> {/if} Link to comment Share on other sites More sharing options...
tadas.karosas Posted July 10, 2015 Author Share Posted July 10, 2015 I am not very good with programming, so what is the least harmful way to do what i want? To change the file, as You wrote, or to upgrade prestashop to 1.6. version. Link to comment Share on other sites More sharing options...
NemoPS Posted July 10, 2015 Share Posted July 10, 2015 To change the file. Just keep a backup Link to comment Share on other sites More sharing options...
tadas.karosas Posted July 10, 2015 Author Share Posted July 10, 2015 Thank You very much, have a good day/evening. Link to comment Share on other sites More sharing options...
tadas.karosas Posted February 29, 2016 Author Share Posted February 29, 2016 Hi, I've changed subcategories as You said, but nothing have changed. I would like to have similar to this one http://postimg.org/image/5pkjp04lh/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now