PDA

View Full Version : getCategoryPath and getCategory returning nothing for Lingerie and sub-categories


currentstyle
24-08-09, 17:18
I have run into a strange 'bug' concerning the Lingerie category (170), it just won't display at all in my category list, yet products are showing from the lingerie category and sub-categories. When I display the product, I'm unable to build the breadcrumb as, there is no information returned from either the getCategory call or the getCategoryPath call.

I thought it may have something to do with bAdult, but, I have added true everywhere imaginable for bAdult, to no avail.

authcode
24-08-09, 17:27
Are you using V3?

bAdult has been changed to iAdult and takes an int of
// 0 - No Adult Content
// 1 - Adult Content
// 2 - Allow Questionable (but not adult) content

Maybe this is what's causing you problems?

currentstyle
24-08-09, 17:36
Perfect, thank you, must have missed the docs on that change.

authcode
24-08-09, 17:50
No worries :D