Anyone know about hiding inactive categories w/ this template?
Anyone know about hiding inactive categories w/ this template?
So, if you have a category status of 1 (green check) and 0 of N active, then the category name still displays? I'm looking for it to automatically deactivate, like they talk about in (https://www.zen-cart.com/showthread....ctive-products)
Lovely template, this one is. I like it a lot.
Here is my question, on the main page, the three images that zoom in and out when the mouse goes over them. I see the images in the /images folder, and the SHOP NOW text is in the code, but where is the other text, the FINE JEWELRY, GREAT TOPS, etc?
I have hunted around but cannot find this out.
Sorry in advance if this has been asked before.
Talk to you all later.
Try the template README
Scroll down to the section for Home Page Banners which identifies the various banners and how to edit them.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
I can't seem to get Ajeh's corrections found on more specifically in the post:
https://www.zen-cart.com/showthread....47#post1265047
...to work w/ Westminster New because it doesn't seem that /includes/templates/*westminster_new*/sideboxes/tpl_categories.php is used for the top nav menu?
I'm somewhat guessing but it doesn't seem to break if I rename that file.
Basically I just want categories to "automatically hide" if they don't have products in them.
My best guess is that
includes/templates/*westminster_new*/common/tpl_header.php
would have to be modified or for...
includes/templates/*westminster_new*/templates/tpl_modules_mobile_categories_tabs.php
I'm really not sure though, I'm a novice programmer, I just don't think the categories drop down menu is loading from a "sidebox" but I'm not sure.
Any help would be appreciated.
Answered my own question... includes/classes/categories_ul_generator.php
Code:while (!$categories->EOF) { if (CATEGORIES_PRODUCTS_INACTIVE_HIDE == 1 && zen_count_products_in_category((int)$categories->fields['categories_id']) == 0) { // skip empty or status off categories } else { $this->data[$categories->fields['parent_id']][$categories->fields['categories_id']] = array('name' => $categories->fields['categories_name'], 'count' => 0); } $categories->MoveNext(); }
Hi,
I searched but can't find solution, please help me to erase the static "Sale" image on left leader of this template. I want to permanently disable or delete it. But it should not disturb cross browser adjustments which is currently fine.
I notice this static image already does not show up on mobile devices which is fine.
Regards