Hello
Everytime i open a product and save it, the sort-id is 1.
regards
Urs
HI,
What you mean with the sort-id ?
the ordering number ?
I think so... in german: neu sortieren
regards
this is a big bug for me! Please solve it!
Everytime i edit an product, the sort-id of that product is 1! Still in newest version
Still not solved in 2.0.7f
You want change your products sort order?
In version 2.0.7 f:
Go to products, select category you want modify from 'Filter: select product category'
After selecting category filter, reorder field comes visible. You can only order products in categories.
Select product order you want with arrows in reorder column and after that press disk icon (Save order) next to reorder field label to save new sort order.
Saving product itself doesn't save sort orders, so always press disk icon after changing sort order to save it.
I hope this helps you.
Hi
This is not my problem.
My problem is that if all the products are sorted and i open a product and save it the ordering number is one!
regards
Urs
Yes, you are right, order number really resets to 1 every time when product is saved.
My version is 2.0.7.h
Thanks papaavola. This error is since version 2.0 and still not fixed!
>:( >:( >:(
Hi - the order -
You have a product that you would like the customers to see first ,
Use the SKU - and use numbers like 0001 , 0002 etc or aaaa1, aaaa2 on products - you may find that this will set a more stable order.
* ensue you leave space for products - so the 1 might be 00001 and product 2 might be 00004 so that if you need it - you have room to reset orders -
* this is not the long term solution but it might help. If you are using 2.0.4 It might be best to update to 2.0.6 stable version.
Plz, this is really important to fix! I can't tell my client that he can't order and promote the products he wants.
:'( :'( :'( :'(
Yes, sorting is very important. Please fix :)
No one from the 'team'??
Sill not fixed in 2.0.8!!!!!
>:( >:( >:( >:(
Sad :(
Thanks for pushing, I take a look. Lets hope I find it fast and it is in the B version :-)
I think I solved it. But again two files changed. We will upload the b version first to the forum. please check then.
Hi,
thanks for the effort as this bug is really annoying.
But.. in 2.0.8b still not working. If I change the product order by entering number and then click save icon, it resets to values that it was before, so nothing changes. Manual sort with arrows is working fine.
Okey, this is not working perfectly, but it is not changing the order anylonger when editing the product, which was for me the real bug.
Yes, that is a nice step!
Imho we can now work with it, before the habits you have to keep were to crazy.
Well it is still far from usable. I have category with more then 100 items, and I need them to sort. Now I need to click so many times to do this.. crazy..
hmm, 100 items. interesting that you do them manually.
I am sorry, the c version is "already done" and I cant change it any longer. What we try to achieve next is that entered values are directly correctly stored. This is in fact a bug. Maybe it works worse since I fixed the other problem, that the ordering value is always set to 1.
Thanks Milbo! For me solved! Finally....
This is not solved 100%. One part of annoying bus is solved (not set to 1 after product edit and not set all to 1 after pressing save is solved) : manual sorting still not work if write sort order numbers by hand.
Quote from: Milbo on July 03, 2012, 13:34:02 PM
I think I solved it. But again two files changed. We will upload the b version first to the forum. please check then.
Which
Which two files have been modified?
I find change in file models/product.php in function saveorder() but what is second file? I can`t update all VM 8)
from 2.0.8 to 2.0.8c is no problem
I find problem - wrong catogory id to ordering product. Must change function getProductSingle() in administrator/components/com_virtuemart/models/product.php
/* Load the categories the product is in */
$product->categories = $this->getProductCategories($this->_id);
$virtuemart_category_id2 = JRequest::getInt('virtuemart_category_id', 0);//add this line
if ( !empty($product->categories) and is_array($product->categories) and !empty($product->categories[0]) ){
$product->virtuemart_category_id = $product->categories[0];
$q = 'SELECT `ordering`,`id` FROM `#__virtuemart_product_categories`
WHERE `virtuemart_product_id` = "'.$this->_id.'" and `virtuemart_category_id`= "'.$virtuemart_category_id2.'" ';//change this line
$this->_db->setQuery($q);
// change for faster ordering
$ordering = $this->_db->loadObject();
if(!empty($ordering)){
$product->ordering = $ordering->ordering;
$product->id = $ordering->id;
}
}
$ordering = $this->_db->loadObject();
if(!empty($ordering)){
$product->ordering = $ordering->ordering;
$product->id = $ordering->id;
}
}
Hello,
Milbo, could you, please, tell me the files changed? I have 2.0.8a version and I have some customisation, so I don't want to update each version because I must do a lot of changes.
Or if there is a file where specific the changes between the versions is enough for me.
Thanks in advance
Please help me: This isn't fixed yet, is it?
I'm deperately trying to sort products by entering an ordering number in the backend, but as soon as I click "save", the products are ordered by who-knows-what.. ..There are ordering-numbers in the table, but not the ones, I've entered..
This is a real problem for me, 'cos it makes the product listings look quiet chaotic..
Should this problem be fixed yet? Can I fix it myself? Is someone working on it?
Can't really believe that a component as big and good as virtuemart has a huuuuge bug like this..? :/
Cheers,
stimpy
PS: I'm on virtuemart v2.0.8e with Joomla v2.5.6...
Please fix this bug!
I've tryed with adamo fix with no luck and now I'm desperate ... my customer want kill me :)
UPDATE:
I've upgrated to latest version 2.0.10 and I've this situation (ex: 4 products):
1) by pressing "reorder" I get wrong order values for products (ex: 16, 35, 70, 76) and I don't know where they came from, because in my DB order values are 1,2,3,4
2) if I edit the order number and then press save on the right of the label "reorder", no changes are saved and order values remain the same (and wrong)
I've tryed with Adamo fix and now I can see the correct values (1,2,3,4) but reordering arrows are inverted and save button still doesn't work except if I've a product set to 0 and want to save at position 1 (from 0 to 1, only in this case).
Thank you
Quote from: BaidareW on July 05, 2012, 22:03:44 PM
This is not solved 100%. One part of annoying bus is solved (not set to 1 after product edit and not set all to 1 after pressing save is solved) : manual sorting still not work if write sort order numbers by hand.
I have the problem, actually. We want order the items in category manually, but this still not work if write the numbers by hand in the fields (the save-sequence button ) This is very important.
What is the problem?
Thank you and kind regards
Quote from: adamo on July 10, 2012, 09:39:26 AM
I find problem - wrong catogory id to ordering product. Must change function getProductSingle() in administrator/components/com_virtuemart/models/product.php
/* Load the categories the product is in */
$product->categories = $this->getProductCategories($this->_id);
$virtuemart_category_id2 = JRequest::getInt('virtuemart_category_id', 0);//add this line
if ( !empty($product->categories) and is_array($product->categories) and !empty($product->categories[0]) ){
$product->virtuemart_category_id = $product->categories[0];
$q = 'SELECT `ordering`,`id` FROM `#__virtuemart_product_categories`
WHERE `virtuemart_product_id` = "'.$this->_id.'" and `virtuemart_category_id`= "'.$virtuemart_category_id2.'" ';//change this line
$this->_db->setQuery($q);
// change for faster ordering
$ordering = $this->_db->loadObject();
if(!empty($ordering)){
$product->ordering = $ordering->ordering;
$product->id = $ordering->id;
}
}
$ordering = $this->_db->loadObject();
if(!empty($ordering)){
$product->ordering = $ordering->ordering;
$product->id = $ordering->id;
}
}
Was this ever confirmed to work? What code do we replace?
Why is this marked "Solved". It's still not working. Like said earlier. This is very important for our customers
I've updated my VM to the latest version... still nothing :(
Thanks Adamo, I tried your code and it works like a charm! now I can order the products in Virtuemart manually.
hi MILBO! :)
I have VM 2.0.6 and I need to fix this bug (at this moment I can't update VM)
I tray to fix with code of ADAMO... but nothing change.
Can you explain me wich fix I have to do exactly?
Thanks so much
Quote from: oremy on September 30, 2013, 09:39:10 AM
at this moment I can't update VM
As a couple years before this moment too I guess.
Please...don't Askatasuna me tris :-)
Can You help me?
Hi!
I updated to the last versione of VM.... BUT....
now we have some problems with:
- addtocart button doesn't work
- lightbox doesnt work
- additional images in product haven't click for zoom (lightbox)
We try to fix this issue with JqueryEasy Plugin.
But nothing is changed
Can you solve this? :)
Thanks
URL?
it's in administrator...