coalesce Posted March 5, 2010 Share Posted March 5, 2010 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! Link to comment Share on other sites More sharing options...
tomerg3 Posted March 5, 2010 Share Posted March 5, 2010 What version of Prestashop do you use?Are there any javascript errors in the page?Can you post a link to the product? Link to comment Share on other sites More sharing options...
coalesce Posted March 7, 2010 Author Share Posted March 7, 2010 Thanks for your reply, We're using version 1.2.5.0Here's a link to the page: http://dev.inventorynyc.com/smooth-co/55-hoodie-canvas-jacket.htmlPlease let me know once you've had a chance to look at it.Thanks! Link to comment Share on other sites More sharing options...
mohsart Posted March 7, 2010 Share Posted March 7, 2010 I have the same issue with PS 1.2.4, got rid of the JS errors, but the problem is still there.../Mats Link to comment Share on other sites More sharing options...
coalesce Posted March 8, 2010 Author Share Posted March 8, 2010 Hmm, maybe I should put this on the Presta bug tracker? Maybe a Presta team member could post a fix in the mean time.. Link to comment Share on other sites More sharing options...
coalesce Posted June 25, 2010 Author Share Posted June 25, 2010 Still having this issue... Trying to figure it out... Link to comment Share on other sites More sharing options...
coalesce Posted June 25, 2010 Author Share Posted June 25, 2010 Again realizing this is over my head. Can someone from the Presta Team please chime in? Link to comment Share on other sites More sharing options...
Kaihaku Posted June 25, 2010 Share Posted June 25, 2010 Has this bug been replicated in 1.3.1? Link to comment Share on other sites More sharing options...
coalesce Posted June 25, 2010 Author Share Posted June 25, 2010 Actually, looks like 1.3.1 might have fixed it... Going to test. Link to comment Share on other sites More sharing options...
Kaihaku Posted June 25, 2010 Share Posted June 25, 2010 If so it would explain why the developers have been unresponsive... If you want to stick with the older model, maybe you could do a partial update of only the affected code logic? Link to comment Share on other sites More sharing options...
coalesce Posted June 25, 2010 Author Share Posted June 25, 2010 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 More sharing options...
tdcaron Posted July 15, 2011 Share Posted July 15, 2011 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 More sharing options...
Recommended Posts