Show categories (buying guides)

  • Posts: 315
  • Thank you received: 8
  • Hikashop Business
1 year 8 months ago #352153

Hi Nicolas.
I am studying the possibility of changing the interface of the product categories.
My intention is to do something like "buying guides".
For that I need to know if Hikashop allows displaying the products of the categories in different spaces, allowing explanatory text spaces, followed by product images and so on until all the products in the same category are completed.
I have made a hand-drawn mockup that I have photographed and I am sending you as an attachment so that you can understand my idea.
It's possible?

Attachments:

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

  • Posts: 4781
  • Thank you received: 649
  • MODERATOR
1 year 8 months ago #352154

Hello,

Maybe you can have something very close to your needs, see my screenshot :



With this 2 options, the category listing will display product sort per Category AND add below each Category title, the Category description.

Hope this will fit your needs
Regards

Last edit: 1 year 8 months ago by Philip.

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

  • Posts: 315
  • Thank you received: 8
  • Hikashop Business
1 year 8 months ago #352158

Hello Philippe.
Thanks for your contribution.
I have done a test and it does not fit what I need.
Any other alternative?

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

  • Posts: 83326
  • Thank you received: 13473
  • MODERATOR
1 year 8 months ago #352161

Hi,

Why do you say what Philippe proposed doesn't work for you ? It would be great to know so that we better understand what you want. Because what he said should allow you to get a layout like on your PDF. So maybe we're missing some information to be able to gie you the advice you need.

An alternative would be to use loadmodule content tags in a Joomla article:
- Make sure each row of products you want to display is in a different category
- Create a module instance of the type "HikaShop content module" for each row of product via the Joomla modules manager (you need to select the corresponding category in the "main category" setting of the module.
- Create a Joomla article, so that you can add your diffrerent text blocks, and use the loadmodule tag docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F to add the products in between the text blocks.

Last edit: 1 year 8 months ago by nicolas.

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

  • Posts: 315
  • Thank you received: 8
  • Hikashop Business
1 year 8 months ago #352168

Hi Nicolas.
I tell you what I have done.
Within the general category of plastic bags I have created two subcategories (recycled and compostable).
I want it to show the description of the category or a text that I can configure above each image in the category.
I'll give you screenshots of my configuration and how it is displayed on the web.

Attachments:

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

  • Posts: 83326
  • Thank you received: 13473
  • MODERATOR
1 year 8 months ago #352169

Hi,

You want to change the type of your menu item from "category listing" to "product listing". Then, with the "sub element filter" setting set to "grouped by category", you'll get something closer to what you want.
Then, you'll just need a view override on product / listing to add the category description below the category name. That's quite easy to do, by adding the code:

<div class="subcategory_description"><?php echo $category['category']->category_description; ?></div>
after the code:
<h2><?php echo $category['category']->category_name; ?></h2>

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

  • Posts: 315
  • Thank you received: 8
  • Hikashop Business
1 year 8 months ago #352176

Hi Nicolas.
Where is this code:
<h2><?php echo $category->category_name; ?></h2>

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

  • Posts: 83326
  • Thank you received: 13473
  • MODERATOR
1 year 8 months ago #352180

Hi,

In the file product / listing when you edit it via the menu Display>Views.
Here is the documentation on how to override view files:
www.hikashop.com/support/documentation/1...-display.html#layout

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

Time to create page: 0.069 seconds
Powered by Kunena Forum