deepee Posted June 24, 2015 Share Posted June 24, 2015 HI All I've just upgraded a 1.5.* shop to 1.6.14. I have noticed an orphaned numeral "1" is appearing near the bottom left of every product page. I've narrowed it down to this bit of code and but I'm not sure as to which file I can edit to get rid of it:- </div> </section> <section class="page-product-box"> </section> 1</div> Any one know how to fix it? Thanks deepee Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted June 24, 2015 Share Posted June 24, 2015 Hi, if you look at your source code just above that code you should see something like: <!-- something something module --> (note you may need to disable minify on performance page to see all source code. Typically the problem you describe is one of the functions is improperly returning output with 'return true'; (true = 1) Once you identify the module, you can play with code to issue 'return'; removing the true. good luck! 1 Link to comment Share on other sites More sharing options...
deepee Posted June 24, 2015 Author Share Posted June 24, 2015 Thanks for your reply, El Patron. Once I disabled minify I see this code:- </section> <!--end More info --> <!--HOOK_PRODUCT_TAB --> <section class="page-product-box"> </section> <!--end HOOK_PRODUCT_TAB --> 1 <!-- description & features --> </div> Not sure what file I need to look for to edit it out? Link to comment Share on other sites More sharing options...
deepee Posted June 26, 2015 Author Share Posted June 26, 2015 (edited) I had a look in the Modules/Positions page and saw that "Store export for Prestashop" module was hooked into displayFooterProduct. I removed it from the hook and the "1" disappeared. This is not a displayable module so I have no idea how it ended up in that hook. Edited June 26, 2015 by deepee (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted June 26, 2015 Share Posted June 26, 2015 Thanks for update, I am happy to hear. I had written one of my earlier modules and during testing I noticed the infamous '1'. This is how I knew this was issue. 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