whizkid Posted June 22, 2010 Share Posted June 22, 2010 Hi,I have trouble with Products Category module. It does not show up. I do not see any code from the module in my source code. Not even the productcategory.js files are being written to the source. I am on 1.3.1 PS. Any idea how I can fix this problem? Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 Make sure that the "Default category" of your products is not set to "Home", otherwise the module won't have a "Same category" to get products from and so won't display. Also, make sure that the module is installed in the "Product footer" hook. Link to comment Share on other sites More sharing options...
fjanos Posted March 24, 2011 Share Posted March 24, 2011 Make sure that the "Default category" of your products is not set to "Home", otherwise the module won't have a "Same category" to get products from and so won't display. Also, make sure that the module is installed in the "Product footer" hook. Thanx it solved the problem. How did you find that out? Link to comment Share on other sites More sharing options...
rocky Posted March 25, 2011 Share Posted March 25, 2011 It's in the code on line 105-113 of modules/productscategory/productscategory.php: /* 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) AND $product->id_category_default > 1) $category = New Category((int)($product->id_category_default)); } If the customers clicks on a product from a category, then that category is used, otherwise, the product's default category is used unless it is category 1. Link to comment Share on other sites More sharing options...
fjanos Posted March 25, 2011 Share Posted March 25, 2011 Ok I see. Meanwhile I found a bug. If you unset the default 'Home' category for some products. Only default 'Home categories are considered as Featured products. Those products don't show up in the main page where it show 'Feature Products'. Any Idea to solve that? Link to comment Share on other sites More sharing options...
rocky Posted March 26, 2011 Share Posted March 26, 2011 It's not a bug. If you uncheck a product from the "Home" category, it won't be displayed as a featured product, even if it's default category is set to "Home". The default category is used to choose what will display in the breadcrumb when going directly to a product without going through a category first. It's not used to choose which products are featured products. Link to comment Share on other sites More sharing options...
edivanio Posted March 11, 2012 Share Posted March 11, 2012 Good evening, I have a problem like this come in my storeprestashop a few days here I add when they procure goods at homeand in the product category appears only in the home, it's products in the categories but does not appear in the category, http://www.jbsshop.com.br/8-informatica WebRep Classificação geral Este site não tem classificação (número de votos insuficientes) 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