Jump to content

[SOLVED] "This product is no longer in stock with those attributes but is available with others" --- Stays after selecting new attribute


Recommended Posts

Hello, we've found a strange bug, when a product is out of stock in a certain quantity this displays:
"This product is no longer in stock with those attributes but is available with others" --- This is fine. However when selecting a different attribute, such as size that HAS availability this line still stays.

Any ideas how to make this disappear? Images attached...

Thanks!

19895_7pA71JSOB8hZtKr3ZHb5_t

19896_etdjbxKGCC4yqvKGgL8P_t

Link to comment
Share on other sites

  • 3 months later...

Here is the fix:

Replace:


quantity == 0 && !$product->available_later) || (!$product->available_now && $display_qties != 1) } style="display:none;"{/if}>



With:


quantity == 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now)} style="display:none;"{/if}>

Link to comment
Share on other sites

  • 1 year later...
Here is the fix:

Replace:

quantity == 0 && !$product->available_later) || (!$product->available_now && $display_qties != 1) } style="display:none;"{/if}>



With:


quantity == 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now)} style="display:none;"{/if}>



Excuse me, but what page or where should this code be replaced, I'm having the same problem with the latest build link below: http://www.kerbearskloset.com/store/dream-girl-collection/10-7350-yummy-u.html
Link to comment
Share on other sites

×
×
  • Create New...