zen_get_category_tree
no longer including 'Top' category when needed
#5625
Labels
zen_get_category_tree
no longer including 'Top' category when needed
#5625
With the zc158 update to move the definition of
TOPMOST_CATEGORY_PARENT_ID
into the non-db settings initialization, that value was changed from'0'
to0
, changing its defined type.That, unfortunately, rippled down into the admin so that
Each of the above list of elements where the 'Top' category was missing-in-action was based on a variable-less call, e.g.
zen_get_category_tree()
flavored invocation.Items 1 and 4 are corrected by simply restoring the
TOPMOST_CATEGORY_PARENT_ID
definition to its string type. Items 2 and 3 need some additional 'assistance' so that they don't offer the "Top" category as the location if there are not already products in the top-most category.The text was updated successfully, but these errors were encountered: