Products Out of Stock

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
carlos_valdes
Posts: 8
Joined: 22 Apr 2020, 23:46

Products Out of Stock

Post by carlos_valdes » 03 Jun 2020, 13:46

I cant find the problem, i have different products that whenever added to the basket display errors like "Product is out of stock", "Remove item from basket", but these products do have stock. Actually at the details page it shows the stock level as high.

I have no idea what is happending. Could you please help me?
2020-06-03 08_43_45-Contacto Mágnetico Inalámbrico _ Se puede conectar OTRO Sensor Cableado _ 2 Zona.png
2020-06-03 08_43_45-Contacto Mágnetico Inalámbrico _ Se puede conectar OTRO Sensor Cableado _ 2 Zona.png (8.33 KiB) Viewed 1953 times
Another thing, the stock level at details page displays wierd, where do i set these attributes and how do i fix that.

Thank you very much!

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Products Out of Stock

Post by aimeos » 03 Jun 2020, 15:09

Did you assign a different stock type than "default" in the admin interface for that product?
Can you post a screenshot from the product stock sub-panel for that product?

The translations for the stock message in Spanish isn't good. Can you improve them?
https://www.transifex.com/aimeos/aimeos ... xt%3Astock
You need to register first but it's free of charge.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

carlos_valdes
Posts: 8
Joined: 22 Apr 2020, 23:46

Re: Products Out of Stock

Post by carlos_valdes » 04 Jun 2020, 13:25

I guess not, the weird thing is that this happens with just some products.
This is the stock configuration for one of these products
2020-06-04 08_18_07-Aimeos administration interface.png
2020-06-04 08_18_07-Aimeos administration interface.png (7.19 KiB) Viewed 1931 times
This is the stock type config. I´ve changed the code and label to "Stock" just to try to find out what is happenning with translations.
2020-06-04 08_23_34-Aimeos administration interface.png
2020-06-04 08_23_34-Aimeos administration interface.png (8.17 KiB) Viewed 1931 times

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Products Out of Stock

Post by aimeos » 05 Jun 2020, 14:33

Did you reuse the SKUs of old products for new ones? In that case, the stock entries in the mshop_stock table may not have been removed too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

carlos_valdes
Posts: 8
Joined: 22 Apr 2020, 23:46

Re: Products Out of Stock

Post by carlos_valdes » 05 Jun 2020, 15:49

i have manually removed the mbshop_stock entries from db table. the problem persists. :(
:(

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Products Out of Stock

Post by aimeos » 06 Jun 2020, 10:32

Another source of the problem: You created a selection product, added a stock level to that selection product but not for its variants. Then, you get that behavior.

The "ProductStock" basket plugin is resonsible for the message and you can deactivate it in the "Plugin" panel of the admin interface for testing.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

carlos_valdes
Posts: 8
Joined: 22 Apr 2020, 23:46

Re: Products Out of Stock

Post by carlos_valdes » 07 Jun 2020, 03:16

Thanks, i have disabled to product stock plug in, can i leave it like that for production server??

Im really not interested on stock levels since, most of my products are virtual or on demand..

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Products Out of Stock

Post by aimeos » 08 Jun 2020, 10:04

Yes, you can deactivate the ProductStock plugin if you only have virtual products without negative effects.
If you have mixed physical and virtual products, you need to make sure that all virtual products have an empty stock level entry, which means "unlimited stock".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply