You are here:  » Category hierarchie reverse mapping


Category hierarchie reverse mapping

Submitted by wesse249 on Thu, 2015-12-17 08:36 in

Hello,

At this moment i have a lot of categories, sub cats and sub sub cats.

The jumpbox at reverse mapping is very long right now. because the categories are placed in one line like: cars/cars accesoires/car radio

Is it possible to work wit jump boxes? Select first main category, the jumpbox with sub, etc?

Other question:

At the category page main categories are placed before sub categories. It is possible to show only the last category?

Product search results for category:Woonaccessoires/Afvalbakken (no results found)

Like

Product search results for category: Afvalbakken (no results found)

Thanks

Submitted by support on Mon, 2015-12-21 09:24

Hi,

I'm aware of the length of the mapping selection boxes on the reverse mapping page when the hierarchy becomes large (this is why they begin hidden initially so that page load time is not effected) but I will investigate further improvements to this feature and get in touch with any modifications for you to evaluate.

Regarding displaying the most sub-category only in breadcrumbs - no problem, in search.php look for the following code at line 360:

  $banner["breadcrumbs"][] = array("title" => $category["name"], "href" => tapestry_indexHREF("category",$category["path"]));

...and simply comment out or delete that line...

Cheers,
David.
--
PriceTapestry.com

Submitted by wesse249 on Mon, 2015-12-21 12:11

Hello David,

Thanks. Another question. My script is before your update with category ajax on top.

Which files do i need to add to have also a merchant select box on the category reverse page?

Thanks Jan Roel

Submitted by support on Mon, 2015-12-21 12:21

Hello Jan,

You can upload the 15/09A distribution versions of;

admin/categories_hierarchy.php
admin/categories_hierarchy_reverse.php

...and that will give you the drop-down menu to filter reverse mapping by merchant. You will then just need to re-apply your character encoding mod from this thread...

Cheers,
David.
--
PriceTapestry.com

Submitted by wesse249 on Thu, 2016-01-07 21:29

Hello David,

in the breadcrumbs it's removed now. But in the pagetitle i have also the categorienames Test/Test 2/Test 3 standing and i only like to have the latest category. In this example Test 3.

On my categorypages i have the same problem. I added pagetitle and description with these code:

  if (($parts[0]=="category") || ($parts[0]=="brand"))
  {
    $banner["h1"] = $parts[1];
  }
  if ($page==1)
  {
    $banner["description"] = "Op zoek naar ".$parts[1]." voordeel? Bekijk hier het <strong>".$parts[1]."</strong> assortiment op Voordeelzoeken.nl.";
  }
  require("html/banner.php");

For on example see: {link saved}

Thank you.

Submitted by support on Fri, 2016-01-08 09:15

Hello Jan,

It doesn't actually look like Category Hierarchy is enabled on your test installation - check that in config.advanced.php it is enabled at line 92 as follows;

  $config_useCategoryHierarchy = TRUE;

Then to have only the lowest level category as the page title, edit search.php and look for the following code at line 503:

    $header["title"] = $q;

...and REPLACE with:

    $header["title"] = $lastBreadcrumb;

Cheers,
David.
--
PriceTapestry.com