-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.4.31
Hi,
Under the default Webshop category, I have 4 categories:
- Baptism
- Communion
- Marriage
- Confectionery
- (I made an extra category TestCat1 which I will explain later)
When I go to
Webshop, I can't see
Confectionery next to the other three subcategories.
I added a new category TestCat1 and this is displayed correctly.
So it's just category
Confectionery that is not displayed. This category has id 154 as you can see in the printscreen above.
In the image you can see I printed out the
itemid, id and cid which I did with the following code in
/templates/rt_mercado/html/com_hikashop/category/listing.php
$itemid = JFactory::getApplication()->input->getInt('Itemid');
$id = $this->params->get('id');
$cid = JFactory::getApplication()->input->getInt('cid');
echo "itemid: ".$itemid."<br>id: ".$id."<br>cid: ".$cid."<br>";
The problem is that somehow hikashop thinks that the
CID of
Confectionery is
0 instead of 154 and because of that 2 things happen.
1) Confectionery is not shown when you go to Webshop.
2) When you go to one of the subcategories of Confectionery, like for example
Confectionery -> Gift papers, it shows
Webshop, taxation category, order status, manufacturer as you can see in the image below instead of the Chrismas, Saint-Nicolas, Everyday and Unicolors (see on left menu for subcategories of Gift paper).
So Confectionery and its subcategories are getting a CID of 0 instead of their real CID.
What could be the cause of this?
In the database you can see that Confectionery really is a subcategory of Webshop.
You can see it as well in the breadcrumbs.
I'm really confused. Did I mess something up?
Thanks in advance for helping out.