How to display only the current category?

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #63399

Hi, I am new here and this is obviously a begginer's question.

I have created categories of two levels. There are some parent categories ("bikes", "accesories", "wear", etc...) and the category "bike" has its sub categories ("mountain bike", "cross bike", etc...). All the parent categories have descriptions. I have linked the parent categories to a joomla menu (category listing) and so far so good. But when I click on one of the parent categories (for example "bikes"), on the next page I see again the title and description of the parent category first above the list of its sub categories. I don't need the description of the parent category shown again. I want to see only the sub categories here. I see that in your demo shop this is not happening.

I don't know if I have chaged some configuration without noticing it...What should I do to avoid this problem?

Thanks in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 2 months ago #63466

Hi,
Can you please give me a link to your website ?

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #63656

Hi, thanks for your attention.

You can't see it because the menu of the online shop is still hidden with access control. Instead I am attaching two images. In the first one, you can see two parent categories, "maletas" and "carteras" (those categories related to bikes I mentioned in my first post were just examples) with their sample description ("maleta desc." and "carteras desc."). This page is in the menu "hikashop demo" which you can see on the top right although it is hard to see.... Then, if you click on the category "maletas", you will see the next page like the second image. What I don't want is that the description of the parent category ("maletas desc.") is shown again. All I want to show here is the list of subcategories with their description. Actually I don't need those spaces to show images, either, but I don't know how to hide them...

I hope you can help me with some insight.

Regards,

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #63712

Hi,

In the hikashop options of your menu, there is the option "show description" that you can turn off in order to not have the description displayed.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #63731

Ok, but how can I manage to hide only the description of the parent category in the second page? It seems that if I turn off that option "show description", the descriptions of the subcategories will disappear, too. Or am I wrong? What I need to do is to show the descriptions of the parent categories on the first page and to show only the descriptions of the subcategories on the second page.

I would appreciate it if you could clarify this point.

Thank you so much for your time.

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #63866

The 'show description' option is only to display or not the description of the current category.
The description of the categories in the listing is not affected by it.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #63989

Thank you. It worked.

My last question. How can I hide those icons (I think they are spaces to show pictures) which are shown on the left side of the descriptions of the categories?

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #64173

You can edit the file 'listing_img_desc' of the view 'category' via the menu Display->Views and remove the block of code corresponding to the image display.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #64839

Thank you, Nicolas. It worked :laugh:

Now I want to resovle another problem with with I am struggling for quite a long time :( ...although my last question was going to be "my last question".

Well now I show you new images of my page that I am really working on. I mean this is the design that I want to use. I set up this structure before and at that time I didn't know about hikashop and I was thinking of using just Paypal buttons. However, I definitely needed to configure shipping fees in a flexible way, so I looked for joomla extensions and decided to use hikashop.

In the first image, you can see a image slider with various categories (I want to sell recycled accesories). I made each category a hikashop menu of categories listing type. I have created various categories (carteras, maletas, billeteras, etc..) and each of them has subcategories. For example the category "maletas" has subcategories "Melcocha" and "Suspiro", which are also shown in the first image. It is fine so far. Now each subcategory has a subcategory of the same name but with different descriptions. Please see the second image. In the first page, I only need to simple descriptions and in the next page (image 2) I want to explain the characteristics of the category in detail. Maybe you think that this should be done as a product instead of a category. Yes, actually "Melcocha" is a product (messenger bag), but because this product is made from recycled billboards, each "Melcocha" has unique color and design. This is why I need to make each item a product and show all the variety we have as products. There are green "Melcocha", red "Melcocha", and so on so on. This variety is not something that I can define as characteristics because every product is absolutely unique (you can see what we do here: www.fuireciclado.com ).

Now what I want to do is to display all these unique items registed as products under the category "Melcocha" in the image 2 so that our customers can check colors we have and select one to purchase. As you can see in the image 3, I can see all these products on the next page after clinking on the category title "Melcocha", but what I want is to show the category and the products on the same page.

So, the structure I have now is:
Product category - Maletas - Melcocha - Melcocha - product1, product2, product3.......

I am sorry if I am asking you too much, but even after reading various topics in the forum and the documentaion "Content display on the front end", I can't make it. I read somewhere that Hikashop doesn't allow us to make a subcategory of a subcategory. Is my problem due to this limitaion? If so, it doesn't matter. I will eliminate the second cateogy "Melcocha". Actually I did a test with just two levels of categories, but still I couln't make products appear on the same page as the subcategory.

I hope you can understand my problem and help me. I've been struggling for a week and I don't get it...

Thank you very much in advance.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #64944

You can have any number of subcategories in hikaShop. I don't know where you read that but that's not the problem.


I would recommend to have your second Melcocha as a product (and you would hide all the parts your don't need with CSS) and then have all the melcocha variants as related products of that product with a related products listing module displayed below the description of the Melcocha product.
That way, you would be able to achieve the display you want.
www.hikashop.com/en/support/documentatio...ct-form.html#related

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #64951

Hi, Nicolas. In fact I thought of showing them as related products as you suggest and did a small test where I could see a listing of Melcocha variants, but at that time I didn't go further wondering if it was a correct way or not... Well now with your advice, I will do it again with confidence and if I have any problem, I will come back here.

Thank you so much for your time and patience!! Great support!

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #65148

Sorry, I want to ask you something basic.

Following your suggestion, now I have just 2 categories: Maletas (parent) - Melcochas (sub), and created a product Melcocha with general description and associated it with some Melcocha Variants as related products.

The problem I have now is that when I click on the category Melcocha, it takes me to a product listing page (of just one product Melcocha: image attached) instead of showing directly the product Melcocha with related products. How can I eliminate this extra step? I am still moving forward and back to understand this basic structure of hikashop... :(

Thanks.

Takashi

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #65294

I'm not following you.

You say that you have two categories Maletas (parent) - Melcochas (sub)
So I understand that in the Melcochas category, you will have all your Melcochas products, right ?

Then you talk about a Melcocha category which you didn't mention as being one of your categories...
So I'm confused. Is Melcocha a product or a category ?
If you have several Melcochas products, then you should have two categories Maletas (parent) - Melcochas (sub) and then your products Melcocha 1, Melcocha 2, etc.

If you only have one Mecocha product, then you should only have one category Maletas and then your product "Melcochas" directly attached to it.

Then, it doesn't change the fact that when you would open your products, you would see the related products listing at the bottom.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
12 years 2 months ago #65361

Sorry, it is confusing.

I used to have levels of categories defined like this: Maletas - Melcocha - Melcocha. Then I had varios Melcocha color variants as products. Then you advised me to have the second Melcohca category as a product and to have all those color variants as related products. So I did what you told me.

Now I will explain what I want to do with my online shop. What I want to do is, fist, to show all the models which belongs to "Maletas" like the first image I attached (the image sliders you see above are menus). You can see two models here "Melcocha" and "Suspiro" with simple descriptions. Then, when our customers click on the model "Melcocha", I want to show what is in the second image, where I show a more detailed description of the model "Melcocha" and display all the colors we have below. The problem I have now is that there is an extra step between those two pages. As you can see in the third image, when I select the model "Melcocha", what I see on the next page is the product listing of the category "Melcocha".

Did you understand what I want to do?

Now it seem that there are two possible options to eliminate this extra step:
Option 1: If there is any way to skip the step "product listing", I think I can maintain the actual structure: Maletas (category) - Melcocha (subcategory) - Melcocha (product with a detailed description) - related products (Color variants of the model Melcocha). My question is: Is it possible to skip the products listing changing some configuration?

Option 2: I will change the structure like this: Maletas (category) - Melcocha (product, with a detailed description) - related products (Color variants of the model Melcocha). In this case, I will have to show those two models "Melcocha" and "Suspiro", which belong to the category "Maletas", as a product listing. Now, I need to show simple descriptions of those two models like the first image attached. I guess, to do this, I have to change the CSS file for product listing because otherwise the layout of the product listing is very simple as in the third image.

Could you understand what I am trying to say by these two options? If so, which is the way I should take? I feel I am getting closer to the solution, but I am not sure.

Thank you very much for your help.

Takashi

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13362
  • MODERATOR
12 years 2 months ago #65597

Thank you for the explanation. Now it's clear.

You should go with option 2. You can have the exact same display for products listing and categories listing since you have the same display options and use similar CSS classes. What you have now is a category listing that you styled already while the products listing is the default one. But you can achieve the same.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum