number (0) in category

  • Posts: 4
  • Thank you received: 0
10 years 6 months ago #194239

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- Browser(s) name and version -- : firefox 34

hello how are you
i have installed hikashop and i like it better then others one ...
but the problem i dont like the number (0) in each category and products
in need if is possible to remove it but i dont know how no need to show how category and products have in each category
bets greetings

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #194260

Hi,

To remove the indication of the number of elements in the category, you have to disable the option "Show the number of products" in the menu/module settings.

If you want to display the number of products but not when empty, so you can hide empty categories still in the settings, or do a view edition on "category / listing_div" for example and replace:

									if($this->params->get('number_of_products',0)){
										echo ' ('.$child->number_of_products.')';
									}
By:
if($this->params->get('number_of_products',0) && $child->number_of_products != 0){
		echo ' ('.$child->number_of_products.')';
}

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

  • Posts: 4
  • Thank you received: 0
10 years 6 months ago #194386

hello xavier thank you very much for your response
can you tell me where and whcih file to can revised and remlaced the source ?
and also i need to remove this number for all hkashope no need it if empty or not
no need to apear any number or qty
best greeting

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 6 months ago #194392

Hi,

If you don't need that number at all, just turn off the "Show the number of products" of your category listing menu/module in it's settings page that you can find when you edit it via the menu Display>Content menus/modules.
No need to edit any code in that case.

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

  • Posts: 4
  • Thank you received: 0
10 years 6 months ago #194441

hello nicolas how are you
i have tray many time but not find it
iam not profetional please if you have picture where is it show me please i going crazy with this
best greetings

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

  • Posts: 4
  • Thank you received: 0
10 years 6 months ago #194444

hello every body
finally i have find the solution tkx for all your support

Attachments:

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

Time to create page: 0.055 seconds
Powered by Kunena Forum