Snade Posted June 10, 2010 Share Posted June 10, 2010 Hello everyone,here is my latest project for a company producing eco paper cups and packs. http://greenpackshop.com/I want to hear your opinion, what you dont like, what you may change Also I got 2 general questions about the catalog part of the prestashop.1. In the backoffice I've created Category "Products" (which is the main) under this category there are subcategories Paper Cups, Paper bags and etc.When you enter in the Products directory in the front office, you dont see anything because there are no products, only sub-categories(who don't show up). How can I show the subcategories? If there is no easy way, is it possible to manually add links ?2.In the categories dropdown list on the header and on the right sidebar the subcategories appear in alphabetic order. How can I arrange them manually ? They are arranged in the backoffice but in the front they are alphabetically.Thanks in advance sry for the bad english, if you dont understand something, I'll try to clear it out. Link to comment Share on other sites More sharing options...
ugur onur Posted June 10, 2010 Share Posted June 10, 2010 answer 1: when you add the new categoryif sub cetagory; Parent category: choose categoryif it is not Parent category: Homeanswer 2: when you adding category you have to put numbers like this01.Sub CatA02.Sub CatB03.Sab CatCAlso you can use this for main categories.. Link to comment Share on other sites More sharing options...
Snade Posted June 10, 2010 Author Share Posted June 10, 2010 1.I think you didn't understand me. "Products" category is already parent of "paper cups" "Paper bags" and etc. But when you click directly on "Products"(whitout choosing sub-category from the drop-down menu) you don't see anything.(because there are no products in there, only sub-categories who doesn't show) I want when you click on "products" to open a page where there are links to the subcategories "paper cups" paper bags and etc. This is something really fundamental, there must be a way to do it. It's like browsing folders in your computer. If you have "Products" folder, with "paper cups" sub-folder, you have access to "paper cups" when you open "Products". Thats how users are used to work, and how it should be.2. Yeah That worked great Thanks Link to comment Share on other sites More sharing options...
Snade Posted June 11, 2010 Author Share Posted June 11, 2010 any suggestions ?? Link to comment Share on other sites More sharing options...
rocky Posted June 11, 2010 Share Posted June 11, 2010 Topic moved since you are using a third-party themeIt appears you are using the Rumar Batik theme. The default PrestaShop theme adds subcategories to the category pages. I guess the author of your theme decided to remove that feature. Try adding it back in to category.tpl: {if isset($subcategories)} <!-- Subcategories --> {l s='Subcategories'} {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} {/foreach} {/if} and add this code to your global.css: body#category #subcategories li { margin-right: 10px } body#category div#subcategories ul.inline_list li a img { display: inline } Link to comment Share on other sites More sharing options...
Snade Posted June 11, 2010 Author Share Posted June 11, 2010 10q very much rocky ! I'll try it, hope it will work 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