Setting the number of product items per category

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #146145

-- url of the page with the problem -- localhost
-- HikaShop version -- : 2.2.3
-- Joomla version -- :2.5.17
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : FreFox 27.0.1
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi, Is it possible to restrict the number of product elements being shown in a HK products listing?

For instance, I created a "HK Products listing by category" module to show items grouped by category (img 1). Would it be possible to restrict the number of items to say 3 items at the most for each category and have an anchor baked in the category header to allow users to directly jump to the relevant category (img 2)?

TIA, MS

1. HK product listing setup




2. Product listing by category display

Attachments:

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

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #146274

Any thoughts on whether this is possible? TIA

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #146286

Hi,

That can be done by editing the view "product / listing", in the foreach "foreach($this->categories as $category) {" edit the content to add links on the category name.
The links could be dynamics, but you have to create a category listing menu before, and use this url + the category name to have working links.
It require some PHP knowledge.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum