noesac Posted January 16, 2014 Share Posted January 16, 2014 (edited) Here's a picture of the bug I just found. Does anyone know how I can fix this? I'm pretty confident the change needs to happen in this part of the code (productscategory.php - line 113 / 114), but I'm not sure how: /* If the visitor has came to this product by a category, use this one */ if (isset($params['category']->id_category)) $category = $params['category']; /* Else, use the default product category */ else { if (isset($product->id_category_default) && $product->id_category_default > 1) $category = new Category((int)$product->id_category_default); } Edited January 16, 2014 by noesac (see edit history) Link to comment Share on other sites More sharing options...
stottycabanas Posted January 16, 2014 Share Posted January 16, 2014 Don't assume it's a bug. It may just be that you've associated all the products shown with the 'Home' category, so PS will say they're in the same category - which they are. Cheers, Dave Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now