Jump to content

[Solved]Featured / viewed / new products / in the same categories block don't work


Guest Steven_king

Recommended Posts

Hi all,

I need some help with my shop’s problem.I don’t know how to do it. please help me.

Please visit my website ([Fake website - Moderated by Patric] ) and click any shoes on each page,you will find the coming up page is blank and the categories on the left don’t show.

Example: [Fake website - Moderated by Patric]/footwear/5315-dolce-a-gabbana-shoes.html (I find any link with "footwear" in it get the same problem)

It happens on the Featured products viewed products new products and in the same categories block.

The problem came up when I was uploading products by csv file.Please help me .Thank you.

Link to comment
Share on other sites

There is a Javascript error on your product page. See here for how to fix it.

Also, I'm not sure whether the Prestashop team would be happy about you modifying the Prestashop logo to be your shop's logo. I think you should come up with your own logo that better matches your theme.

Link to comment
Share on other sites

It appears you have a PHP error after the following line:

<!-- vincenthsy 15-10-2009 -->



You should check your errorlog to see what the PHP error is, or temporarily change 'display_errors' to 'on' in config/config.inc.php and post the error message here.

Link to comment
Share on other sites

That's odd. For some reason, that product is using too much memory. I've tried some of your other products and they worked fine. Is there anything unusual about that product? Does it have many attributes or features?

I noticed that you've got the "In the same category" module installed on the product page. Perhaps that module is loading too many products. Try uninstalling that module and see whether the page loads. Also, there is a bug in that module that is causing a Javascript error on your site. See my post here for the fix.

Link to comment
Share on other sites

Hi Rocky,

I uninstalled "in the same categories" and it seems work fine.

I am going to send a pair of shoes or others to you for your patience and great help once my business get better.

Link to comment
Share on other sites

  • 1 month later...
I just tried installing Products Category v1.2.1 on my Prestashop v1.2.5 installation and it worked perfectly without any Javascript errors, so I'm not sure why it isn't working for you. I had a look at at productcategory.js and for some reason, the variables are defined with a pc_ prefix, but there is no pc_ prefix when the variable is referenced on line 7. Perhaps if you change line 7 to the following it will work:

   $('#productscategory_scroll_right').css('cursor', position + pc_serialScrollNbImagesDisplayed == pc_serialScrollNbImages ? 'default' : 'pointer').fadeTo(500, position + pc_serialScrollNbImagesDisplayed == pc_serialScrollNbImages ? 0.2 : 1);



It still not work after added pc_prefix.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...