How to control the display of a specific category?

  • Posts: 35
  • Thank you received: 1
11 years 9 months ago #86629

Is it possible to control the display of a specific category (through a content module) WITHOUT associating it to a menu? My shop only has one menu, the top shop category and navigation goes form category to category. I have one specific category that I wish to remove the product images and control the number of products displayed. But that category does not have any associated menu entry...

Thanks

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #86665

Hello,

Can you explain it more precisely with some screenshots of your problem, your content module configuration and what you really want to do ?

thank you :).

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

  • Posts: 35
  • Thank you received: 1
11 years 9 months ago #86755

Hello Mohamed,

Thanks for your reply. My shop is accessed with one single joomla menu called boutique:



Then navigation goes from category to category. For exemple, I click on Livres (books), hikashop displays the book category and its products:



Then if I click on the Book subcategory called "Dictionnaire rêves-signes-symboles pdf", hikashop displays that category in the same manner as it displays the other categories:



I can modify the display of all my shop categories by going to Views->Content menus->Click on Boutique menu->Click on the associated module:





This will affect the display of ALL my categories. What I want is to modify the display of JUST the above category, ""Dictionnaire rêves-signes-symboles pdf".

I tried to create a content module, change a few parameters (number of columns, add to cart button, etc) and associate it with this category like this:



But it doesn't work, the category is still displayed like the others.

So my question is, how can I modify the display of this one category?

Thank you for your help

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #86774

Hi,

I think that the solution would be to edit the good Category listing, Can you give me your web site address and I'll give you the menu ID ?

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

  • Posts: 35
  • Thank you received: 1
11 years 9 months ago #86780

I sent you the link through pm. Could you explain in more details how to edit the good category listing? Is it through the content modules? Thanks!

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #86915

Hi,

There is no option to do that.

The products listing associated module will display the products listings the same way for all the categories since it has only one set of options.

Depending on what kind of change you want to have for that specific category, you can potentially edit the file "listing" of the view "product" and add a bit of code for that. For example, that can be done if you want to change the number of columns of the listing or the layout to use. But that can't be done if you want to change the ordering or the number of items to display as that is handled before the view file, when the data is loaded. What kind of change to you want to have ?

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

  • Posts: 35
  • Thank you received: 1
11 years 9 months ago #86968

Hi Nicolas,

Thanks for your reply. Since that category contains 600 items, compared ~12 for the other categories, its display requirements are quite different. I want 1) to include pagination 2) include an add to cart in the category listing 3) display the title only 4) override the view so I can filter out by first letter (A B C D E F, etc)

From your message I understand that I cannot set specific requirements for a category unless it has a joomla menu associated to it?

Can 1) be set per category? It seems to be a store wide parameter in Configuration->Display?
I know I can do 2) and 3) in the content module configuration.

Thanks

Last edit: 11 years 9 months ago by bohemier.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87070

Hi,

For the pagination, you can set the number of products to 15, by this way the pagination will only be displayed on this category (which have 600 products).
You have then to edit the view "product / listing_img_title" (or the one used for he listing) and add a if condition based on the category of the products.

With that condition you can restrict the add to cart button or display only the title.
For the filter, you can try to create a filter applied only on this category, and set the type on "sort".

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

Time to create page: 0.111 seconds
Powered by Kunena Forum