Nova Posted November 4, 2008 Share Posted November 4, 2008 Hello allI just install V1.1b2. But I have a problem. After I open Top sellers or Specials page. I got the error. Can help me solve it? Thank you very much.Notice: Undefined variable: nbProducts in C:\Inetpub\wwwroot\crystal\pagination.php on line 13Notice: Undefined variable: nbProducts in C:\Inetpub\wwwroot\crystal\pagination.php on line 14Notice: Undefined variable: nbProducts in C:\Inetpub\wwwroot\crystal\pagination.php on line 15Home>Top sellersNova Link to comment Share on other sites More sharing options...
Paul C Posted November 4, 2008 Share Posted November 4, 2008 There are several changes to the template system, so you will have to check that you're using the latest template code (and if you're using a custom theme you will have to edit it to be compatible). I would recommend using the new default "PrestaShop" theme for testing, and then modufy your own custom theme when you (and the code) is ready for production use!Paul Link to comment Share on other sites More sharing options...
Nova Posted November 4, 2008 Author Share Posted November 4, 2008 Thank you Paul C reply.I am using default PrestaShop theme and all setting is default. I just install and testing. But have this error. Do you know how to solve it?Thank you!Nova Link to comment Share on other sites More sharing options...
Paul C Posted November 4, 2008 Share Posted November 4, 2008 Looking at just the new products listing I would check the file new-products.php it should contain the lines: $nbProducts = intval(Product::getNewProducts(intval($cookie->id_lang), NULL, NULL, true)); include(dirname(__FILE__).'/pagination.php'); If it doesn't, then there's something far wrong!!Paul Link to comment Share on other sites More sharing options...
Nova Posted November 4, 2008 Author Share Posted November 4, 2008 Thank you again!I have already check the code. This code same for me. I still not know where is wrong. ThanksNova Link to comment Share on other sites More sharing options...
mysterion Posted November 5, 2008 Share Posted November 5, 2008 Same problem here with default template Link to comment Share on other sites More sharing options...
weaselbringer Posted November 20, 2008 Share Posted November 20, 2008 How do I add something as a "Special" in the specials module? thanksadam Link to comment Share on other sites More sharing options...
Recommended Posts