Sorting options displayed different places on page

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 5 months ago #337169

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4

Hi
How do I get a page title to show on products listing page like: passtheport.thr.nu/shop/alle-portvine
If it use the Page Heading in Joomlas menu system, I get the header, but it's placed beneath the sorting option and not above like on categoty listing ...

Category listing: passtheport.thr.nu/shop/white-port/10-ars-white

Regards
Thomas

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
2 years 5 months ago #337172

Hi,

In the view file product / listing.php that you can edit via the menu Display>Views, you have this code by default:

if(!$this->module)
		echo $mainInfo;
	if(!empty($html)){
		if($this->module) echo $mainInfo;
		if(!empty($htmlFilter) && $ctrl == 'category')
			echo $htmlFilter;
The pageheading is in $mainInfo and the sort filter is in $htmlFilter.
And $mainInfo being echoed before $htmlFilter, the pageheading is displayed before the sort filter by default for products listings too.
If it's not the case on your website, it's probably that this code has been customized to not display like that for some reason.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 5 months ago #337193

Thanks, but that file hasn't been edited:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
2 years 5 months ago #337214

Hi,

Then I'm not sure why that would be.
However, I think a simple solution would be to add such CSS code:

.hikashop_filter_main_div { float:right; }

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 5 months ago #337217

Thanks, I'll see if I can fix it some way :-)

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

Time to create page: 0.070 seconds
Powered by Kunena Forum