Show the number of products in characteristics?

  • Posts: 1119
  • Thank you received: 114
8 years 5 months ago #241730

Hi,

Is there a way to show the number of products in the filter module near characteristics? Number should be based on characteristic it self like the category has it right now?
Image attached to be more clear....

Thanks

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
8 years 5 months ago #241771

Hello,
There is actually no option to do that , so the solution will be to directly edit the code of the "filter" file of the "product" view of your front-end template via "Hikashop->Display->Views" but that will require some development skills.

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

  • Posts: 1119
  • Thank you received: 114
8 years 5 months ago #241796

Hi,

Can u please be more specific. How could I get product count based on characteristic? Any code examples?
If it can't be done with simple php code added can I ask for this feature to be added to hikashop TODO list?

Regards

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 5 months ago #241812

Hi,

The code would be quite complex to do.
Such feature would be quite a problem for us as it requires complex queries to handle that and it could easily crash the page if you would have too many products/filters displayed. That's why we didn't do it and don't have plans to do it in the near future as we couldn't find a good enough solution to do it efficiently.
Custom code is the way to go for now for that.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum