Move sub-category to bottom of page

  • Posts: 35
  • Thank you received: 0
4 years 9 months ago #308964

-- url of the page with the problem -- : www.dykkerhulen.dk/webshop/category/13-dykkermasker
-- HikaShop version -- : 4.1.0 [1905101046]
-- Joomla version -- : 3.9.8
-- PHP version -- : 5.6.40
-- Browser(s) name and version -- : Google Chrome
-- Error-message(debug-mod must be tuned on) -- : How to move a sub category from top to buttom of a category

Hi,

Is it possible to move a sub category from the top of a category page to the butto of the category page?

Please see attached photo - how is it possible to do that?

Attachments:

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
4 years 8 months ago #308965

Hi,

Yes. You want to move the code:

$layout_type = $this->params->get('layout_type');
if(empty($layout_type) || $layout_type=='table') $layout_type = 'div';
$html = $this->loadTemplate($layout_type);
if(!empty($html)) echo '<div class="hikashop_subcategories_listing">'.$html.'</div>';
just before the line:
$html = ob_get_clean();
in the file "listing.php" of the view "category" via the menu Display>Views.

The following user(s) said Thank You: Gerner

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

Time to create page: 0.067 seconds
Powered by Kunena Forum