- Posts: 4
- Thank you received: 0
number (0) in category
11 years 6 months ago #194239
by benachour
number (0) in category was created by benachour
-- 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
-- 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
Please Log in or Create an account to join the conversation.
11 years 6 months ago #194260
by Xavier
Replied by Xavier on topic number (0) in category
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:
By:
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:
Code:
if($this->params->get('number_of_products',0)){
echo ' ('.$child->number_of_products.')';
}
Code:
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.
11 years 6 months ago #194386
by benachour
Replied by benachour on topic number (0) in category
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
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.
11 years 6 months ago #194392
by nicolas
Replied by nicolas on topic number (0) in category
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.
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.
11 years 6 months ago #194441
by benachour
Replied by benachour on topic number (0) in category
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
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.
11 years 6 months ago #194444
by benachour
Replied by benachour on topic number (0) in category
hello every body
finally i have find the solution tkx for all your support
finally i have find the solution tkx for all your support
Please Log in or Create an account to join the conversation.
Time to create page: 0.242 seconds