princeme Posted July 29, 2010 Share Posted July 29, 2010 i’m using black&white;theme , when i add some product to wishlist and check it , i found the 3rd/6th/9th/12th/3*n th products doesn;t show picture and some other bugsplease see picture and help me , and what does $product.attributes_small mean ?thank youhere is another thread , this is not problem of css and theme , i switch to other theme , (default and others) , it's still occurshttp://www.prestashop.com/forums/viewthread/64000/themes/css_problem_in_wishlist_view_page__please_help/please help Link to comment Share on other sites More sharing options...
FenyőB Posted September 10, 2010 Share Posted September 10, 2010 The problem is in modules/blockwishlist/WishList.php line 254 where it says:Validate::isUnsignedInt($products[$i]['id_product_attribute']))you also need to check if its zero, so the line should look like this:Validate::isUnsignedInt($products[$i]['id_product_attribute']) AND $products[$i]['id_product_attribute'] != 0 )still looking for the missing picture bug.hope that helpsBalazs Link to comment Share on other sites More sharing options...
FenyőB Posted September 10, 2010 Share Posted September 10, 2010 I found the missing image problem. It happens when there is a combination selected (e.g. Blue) but there is no image selected for that combination.The code only looks for a selected combination, it doesn't look for an image corresponding to that combination :-(so you need to change the following files:managewishlist.php line 41 should look like this:if (($products[$i]['id_product_attribute'] != 0) AND ($obj->getCombinationImages(intval($cookie->id_lang) != 0)))view.php line 25 should look like this:if (($products[$i]['id_product_attribute'] != 0) AND ($obj->getCombinationImages(intval($cookie->id_lang)!=0)))that's all i found, should do the same thing if you find missing pictures elsewhereBalazs Link to comment Share on other sites More sharing options...
Yuri Vecchi Posted June 22, 2011 Share Posted June 22, 2011 this works! I suggest you send this to the bug tracker Link to comment Share on other sites More sharing options...
Slieptsov Posted July 23, 2011 Share Posted July 23, 2011 FenyőB, thanks!!! 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