Jump to content

Category Tree Problem


Guest John P

Recommended Posts

Form some reason, total item number on the main page category tree is not showing up. Example: Clothing ()

Any ideas? Thanks.

This is known bug in 4.1.0RC1 & 4.1.0RC2

FIX:

admin/sources/categories/index.inc.php

$record["noProducts"] = 0;

$insert = $db->insert($glob['dbprefix']."CubeCart_category", $record);

$msg = ($insert == true) ? "<p class='infoText'>'".$_POST['cat_name']."' ".$lang['admin']['categories_add_success']."</p>" : "<p class='warnText'>".$lang['admin']['categories_add_failed']."</p>";

Red marked is a new line required.

A small fix is required to the current empty count to add zero to any such category. Once done do use recount tool.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...