Jump to content

[solved] back office search, conditional statement for product_list, category navigation display


neller

Recommended Posts

Hi All,

I have been struggling with a few items for too long and I need to get a fix for them.
These can be priced individually or as a whole job.
1) Back office search - when searching for products, I need the product tags to be displayed
fig-1

2) I need to be able to display sub-sub categories in a custom navigation


{if $category->id AND $category->active}

{assign var='parent' value=$category->id_parent}

<!-- Subcategories -->

<div id="main_menu">

<a href="{$link->getCategoryLink($parent)}" class="cat_name red_menu">Back</a>

{if isset($subcategories)}

{foreach from=$subcategories item=subcategory}

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name menu_item">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>

{/foreach}





{/if}

</div>

{/if}

there are 10,000+ categories and they go 8 deep.
Levels 1-6 are choosing vehicle specifics, this is navigated with ajax drop down menus. no work is needed here.
7 and 8 are the actual products. When choosing your vehicle (landing at level 6) I need to be able to navigate straight to level 8. But I need to be able to get the level 8 categories from level 6.
Ideally the navigation will remain displaying level 7 & 8 category links when at level 6,7 and 8. But this is optional.

3) A conditional if statement for the products.
I.E. a tick box in the BO that when ticked a fixed link is displayed in the front end on product_list.tpl and product.tpl

Hope this is possible.
The site is live, so if a link is needed I can supply and a better explanation to the needs.

Regards,
Neller

edit - attached file post-275870-0-39898600-1377774879_thumb.jpg

 

Edited by neller (see edit history)
Link to comment
Share on other sites

Hi neller, I sent you a PM. Task 2 may be clarified. In the Spanish forum we've been discussing some issues regarding a car part shop that maybe is what you are looking for.

The original thread: http://www.prestasho...-de-categorias/

The translated one: http://translate.google.com/translate?js=n&sl=auto&tl=en&u=http://www.prestashop.com/forums/topic/269915-duda-con-gestion-de-categorias

Edited by Enrique Gómez (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...