Move Subcategory below products listing

  • Posts: 11
  • Thank you received: 1
9 years 10 months ago #208591

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.3

Hello!
I have an issue with the display of main category products and subcategories.

I have a main category which includes some products and an additional subcategory.
What I need is to have on top my products and below the subcategory, though I can not find a way to change this.

I already edited the category listing.php file by copying from top and pasting to bottom:
$html = $this->loadTemplate($layout_type);
if(!empty($html)) echo '<div class="hikashop_subcategories_listing">'.$html.'</div>';

This makes the change I want, but then to all my modules with categories all are duplicated. If I erase the first one, none of them are displayed.
I attach an image of what I need, I hope there is an easy way to do it and simply can not see it!

Thanks a lot!!

Attachments:

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

  • Posts: 83890
  • Thank you received: 13579
  • MODERATOR
9 years 10 months ago #208604

Hi,

The code was probably not pasted at a valid place in the file.
Can you provide a screenshot of how you did the change in the code so that we can see how it is now ?

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

  • Posts: 11
  • Thank you received: 1
9 years 10 months ago #208752

I decided to remove the subcategory and made a different reconstruction of the e-shop, so I will probably will not need the change anymore.
Thanks a lot though for your kind support!

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

Time to create page: 0.060 seconds
Powered by Kunena Forum
loading