Jump to content
shendricks

Mysterious Number 1 on Product Page

Recommended Posts

Hi,

 

I need help please! ive been struggling this whole day to get a myserious number 1 removed from my product page. Picture attached.

 

Thank you!

post-360291-0-42279500-1347803187_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

I need help please! ive been struggling this whole day to get a myserious number 1 removed from my product page. Picture attached.

 

Thank you!

 

Check your "product.tpl" file in your themes directory. If you can find the "1" in it then it is hard coded into the file.

If you cannot find the one "1" above <!-- description and features --> in the file then it could be coming

from one of your module.

 

Did you install any new module that is hooked to the product footer? It might be displaying in

{$HOOK_PRODUCT_FOOTER} in "product.tpl" file...

 

In backoffice: Go to "Modules"... click "Positions"

Look for "Product Footer" table and check which module is under it.

 

Remember the name of the module and delete it.

It won't be there anymore.

 

The reason for remembering it is because in case if your application do not function correctly

after deleting it. Then you could use the "Transplant a module" feature to re-hook the module

to "product footer"

 

Good luck!

  • Like 1

Share this post


Link to post
Share on other sites

Hi PrestaShop Newbie,

 

It worked! The problem was that I installed a module, and once Ive deleted that, the "1" was missing!

 

 

Thank you so much for your help!

 

Stephan

Share this post


Link to post
Share on other sites

OMG 1 day wasted, looking in tpl files. Finally. Just remove it from the position - you dont even need to uninstall it. 100% a module issue, even if it actually works.

 

Mine was the free module store export. Just removed it from footer products in positions. :)

 

Thank you yewster

Share this post


Link to post
Share on other sites

this is typically caused by a module doing a return with the value 1...just remove the return in the function...and the '1' will go away...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More