Jump to content

Product position in category


Recommended Posts

Hello, I followed this instruction, thank you.

 

But in my case the products do not stay at there place. If I move them around they are in the right position in the back-end. And there comes a message "Changes saved" or so. But if I look at the front-end the position of the products are like before - they are not sorted like I want. If I go back to the back-end, the positions are also like before. It seems to me that the position is not saved in the database. In the Error-Log appearing following entries:

 

[Thu Oct 08 17:52:00 2015] [error] [client 46.127.32.211] FastCGI: server "/var/run/hcgi/2689" stderr: PHP Notice:  Undefined index: is_category_filter in /home/linsenko/www/(deleted)/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 52, referer: https://www.(deleted)/adminxyz/index.php?controller=AdminProducts&token=b74ff759bdaae6513fe31b4f22f2bfd6
[Thu Oct 08 17:52:00 2015] [error] [client 46.127.32.211] FastCGI: server "/var/run/hcgi/2689" stderr: PHP Notice:  Trying to get property of non-object in /home/linsenko/www/(deleted)/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 52, referer: https://www.(deleted).com/adminxyz/index.php?controller=AdminProducts&token=b74ff759bdaae6513fe31b4f22f2bfd6

 

Do you have any idea what is going on? Thank you.

 

Ah, I should mention it is PS 1.6.1.0

Edited by Augenshop (see edit history)
Link to comment
Share on other sites

Hello again.

 

I found the solution for me. We have imported the products from a modified shop, the position number are sometimes the same in one category. It seems that the script can not handel the change of positions if there are same position numbers in one category. I now use the triple edit to correct the position numbers.

 

https://www.prestashop.com/forums/topic/185401-free-script-product-mass-edit-category-multi-edit-order-edit/

Link to comment
Share on other sites

  • 9 months later...

Hi to all of you.

 

This is the last solution for me and I hope I will find some clues or answers regarding my problem.

I did try to find answers by looking for different keywords for this topic and by Google it but nothing seems to be working for me.

 

Here is the thing:

I am not so much newbe with Presta but this is over my head.

 

I'm on PS 1.6.1.5 (fresh not update)

php 5.4.45

 

My previous PS was 1.5

 

I installed new PS version and copied SQL table by table (not all i needed) to new version, some I found have changed so after hours spend on finding solutions finally I got them working fine I suppose. I included all development updates from github docs which affected sql.

 

Untill now all is ok and fine BUT I am struggling with one issue.

Sorting in the category is my problem.

Some sorting in the categories seems to be working just fine without any problems, but some are not.

In example:

 

issue-1 When sorting, all appears sorted as I wish in the BO (even after refresh) but when I go to FP it looks totally different, I could not find logical comparison why it is sorted in this or other way.

 

issue-2 Sometimes when I change product position in the BO category, when I refresh it goes back as it was before

 

Issue-3 I found products which are not suppose to be in certain category but I see them on the FP (but they do not appear in the BO it this category, they are not attached to it)

 

Here is what I did:

Sorting in the admin i set by inside the category

Went to sql to category_product and I looked for some specific product ID's, answer-> I didn't see they are doubled or anything like that. One Id has one position in one category, but in the FP I see it on two different categories. Only connector is that one is mother cat and other i sub. cat.

 

Went to _product and _product_shop -> same, product attached to one category.

 

I installed this script (it helped to someone) but all there looks fine, from the database all is sorted as it should be and I can not see any mess there.

 

I cleared cache by presta/admin and manually by ftp, also cleared, browser etc. also...

 

NOTHING!

 

What is funny is that some categories are sorting normally (clue-> always sub cat.) but others (mother cat.) only to the halfway.. or they are sorted but not showing in the FP.

 

 

I am fed up, I lost few days on such a silly problem but I can not run shop like that..

 

----

BO -back office

FP - front page

 

Please.. HEEELP!!! :unsure:

 

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Hi,

 

I have the same problem within PS 1.6.1.7 with the category position.

I put the subject into the "forum bugs" but no answer ...

 

To make changes I did it inside DB by changing the position number for reordering the products. It is a little bit long but ...

 

It's seem to be a bug in PS 1.6.1.7 but this functionality did't have success to be solved.

Edited by floranne75 (see edit history)
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...