Magento Forum

   
1.7.0.2 Add to cart button/out-of-stock products
 
jfk071
Member
 
Total Posts:  39
Joined:  2008-10-29
 

1.7.0.2 Add to cart button is missing on out-of-stock products even when backorders is set to allow qty below 0.
I seen someone report this as bug and it’s confirmed, does anyone has a workaround for this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
miraclestudios9
Jr. Member
 
Total Posts:  5
Joined:  2012-10-18
 

can you post some screenshots?

 
Magento Community Magento Community
Magento Community
Magento Community
 
jfk071
Member
 
Total Posts:  39
Joined:  2008-10-29
 

Here is 3 pictures, Inventory settings, catalog and product out of stock

Image Attachments
bild1.JPGbild2.JPGbild3.JPG
 
Magento Community Magento Community
Magento Community
Magento Community
 
kalenjordan
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2011-10-31
Pasadena, CA
 

Hey @jfk071, I checked the release notes and see this under 1.7.0.0:

Fixed: Product is not shown in the Catalog when it is Out of Stock and Display Out of Stock Products = Yes

I hate to suggest downgrading, but it may be that they resolved it in 1.7.0.0 and then it regressed in 1.7.0.2.  I can also look into it for you if you’re interested.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jfk071
Member
 
Total Posts:  39
Joined:  2008-10-29
 

@mageupdate it’s not that the products not showing it’s the add to cart button that is missing on out of stock products.
I have set the Inventory/backorders to allow qty below 0.
I get the same problem in 1.6, 1.7, 1.7.0.2 so maybe it’s someting I’m doing wrong?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kalenjordan
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2011-10-31
Pasadena, CA
 

Gotcha, sorry my bad.  I couldn’t really read the screenshots so I got a bit lost in the details smile Hm, so I’d probably fire up my debugger to step through it.  But what version did you upgrade from and did this work in that version?

It seems like you’re just in the base magento theme, so a theme customization issue couldn’t be the root cause....strange.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jfk071
Member
 
Total Posts:  39
Joined:  2008-10-29
 

I will go with the setting not use stock instead, that will work

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amasty
Mentor
 
Avatar
Total Posts:  3757
Joined:  2009-11-10
 
jfk071 - 22 October 2012 11:32 PM

1.7.0.2 Add to cart button is missing on out-of-stock products even when backorders is set to allow qty below 0.

Hi there,

I’m not sure this is the exact solution you are looking for, but it may be helpful - in case you want to clearly show customers that particular products are available only for pre orders or backorders, you can try this module: http://amasty.com/magento-pre-order.html.

With the extension you’ll be able:

- replace The Add to Cart button with the Pre Order (backorder) button;
- create custom stock statuses for the products that are currently out of stock;
- set pre orders and backorders for configurable, grouped and bundle products;
- easily manage pre orders (backorders) on your Order grid;
- write special warning notes on the product info page;

Image Attachments
pre-order-category-page.pngpre-order-configurable-product.pngpre-order-account-page.pngpre-order-email-small.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Guru
 
Avatar
Total Posts:  356
Joined:  2013-01-13
Warsaw, Poland
 

Hello,

It is a good idea to use GoMage ProCart extension which can work with different types of the products and can help you in this situation with out of stock products too. If you need any custom work, you can customiza it easily, for example for the products that are out of stock. The total can be updated based on the products quantity whether there is a product in stock or now and whether it is added to cart or not..

 
Magento Community Magento Community
Magento Community
Magento Community
 
Novayadi
Member
 
Avatar
Total Posts:  32
Joined:  2012-05-17
Indonesia | Bali
 
jfk071 - 22 October 2012 11:32 PM

1.7.0.2 Add to cart button is missing on out-of-stock products even when backorders is set to allow qty below 0.
I seen someone report this as bug and it’s confirmed, does anyone has a workaround for this?

I hope your products not configurable............. :D

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top