Exclude unpurchasable in admin bug
-
Hello, first of all thanks for the great plugin.
Unfortunately, there is some incorrect behavior with “Exclude unpurchasable” option. When you choose “Yes”, the out of stock products will be not show on front-end. It’s cool. But simultaneously they will be not shown in admin. And it’s a problem.
Why?
For example, I have Product 1 and Product 2.
And I want to associate Product 2 to product 1. If Product 2 is in stock – everything is ok.
If Product 2 is out of stock I can find it by search and add to the list (it will be strikethrough) – it’s ok.
But after updating the Product 1, Product 2 will disappear from the list! So if I want to change (for example, to remove it) it afterwards, I can’t – because Product 2 is not in the list!As result, if in future Product 2 will be in stock, it will be added as associated whether I already want it or not.
This problem is getting bigger with sale prices. If I have Product 2 (out of stock) and Product 3 (in stock) associated with Product 1, after adding them to the list and updating the Product 1, only the Product 3 will be available for editing. If I want to change the sale price for these two products, I can do it only for Product 3 (in stock). Sure, I can find Product 2 once more and re-add it to the list, but it’s very-very complicated.
But we should remember that even if Product 2 is not show in admin, its sale price was saved in DB. As result, when it will be in stock again, it will be associated with old sale price whether I already want it or not.
I would suggest to show the in stock and out of stock products in admin always. And all of them should always be editable – not depending on their stock status. Out of stock can be shown with strikethrough, it’s useful and clear. On front-end nothing should be changed – out of stock product should be hidden if “Exclude unpurchasable” option is on.
I hope I was able to clearly state the essence of the problem.
Thanks in advance.
- The topic ‘Exclude unpurchasable in admin bug’ is closed to new replies.