Product Listing Display All only show 1 Product

  • Posts: 29
  • Thank you received: 0
11 years 10 months ago #82956

Website: www.azurerion.com/test

Single Cards > Promo Singles [ENG]

- When Select display to "ALL", it only show 1 product
- No issue, when Select display "21" or "42" or "63", manage to show all the 5 products
- Please note that I only have 5 product in Total in the category Promo Singles [ENG]


Please advise as fast as you can. TY :)

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #83120

Hi,

Please edit the file components/com_hikashop/views/product/view.html.php
You would find the part of code

			}else{
				$pageInfo->limit->value = $this->params->get('limit');
				$pageInfo->limit->start = 0;
			}
			if($pageInfo->limit->value <= 0)
				$pageInfo->limit->value = 1;
		}else{
			$doc = JFactory::getDocument();
			$pageInfo->filter->cid = JRequest::getInt("cid",$this->params->get('selectparentlisting'));
In this part of code, you have to change the line
			if($pageInfo->limit->value <= 0)
To:
			if($pageInfo->limit->value < 0)
This modification would be include in the next HikaShop package.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 29
  • Thank you received: 0
11 years 10 months ago #83175

Work like a charm. Ty

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

Time to create page: 0.056 seconds
Powered by Kunena Forum