DDD Posted July 26, 2010 Share Posted July 26, 2010 Hi,I run Prestashop with modified Black&White;theme. You can see the shop atwww.drakfisken.seThere's alot of articles that can be ordered even if they are out of stock, but I can't find a way to show the message to the customers.If the article is out of stock I would like to have a message saying the estimated delivery time... but now it's just blank...Where do I change this? How?//Hans Link to comment Share on other sites More sharing options...
tomerg3 Posted July 26, 2010 Share Posted July 26, 2010 It could be a problem with the theme, try using the default theme and see if it works. Link to comment Share on other sites More sharing options...
DDD Posted July 27, 2010 Author Share Posted July 27, 2010 It works with the default theme, but I would really like the same on Black&White;theme... were can I change it? How? Link to comment Share on other sites More sharing options...
Stacy Ann Posted August 22, 2010 Share Posted August 22, 2010 Hi,I have the same problem, I am on the "technology shop (black)" theme, everything worked well with the default theme but not with this new theme, did you resolve your problem or anyone have any solution?Thanks.Regards.Stacy Ann Link to comment Share on other sites More sharing options...
cactusman2 Posted August 23, 2010 Share Posted August 23, 2010 In themes/blackwhite/product.tplAround line 192 after <!-- quantity wanted --> quantity == 0) || $virtual} style="display:none;"{/if}> {l s='Quantity :'} <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" /> try to add <!-- availability --> quantity == 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now)} style="display:none;"{/if}> {l s='Availability:'} quantity == 0} class="warning-inline"{/if}> {if $product->quantity == 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} Link to comment Share on other sites More sharing options...
Stacy Ann Posted August 23, 2010 Share Posted August 23, 2010 yeeeeeeeeeeeeeeeees! That is wonderfull!Thanks you so much for your help! Link to comment Share on other sites More sharing options...
Stacy Ann Posted August 23, 2010 Share Posted August 23, 2010 Hi,sorry for my bad english...it works very well, but I still have a little problem, when my text "This product is no longer in stock" take more than 2 lines, it overlaps with the block of the bottom (I put it under the button "add to cart" but I have the same problem if I put it above the button "add to cart").How to avoid it?Thanks for new help.Regards.Stacy Ann. Link to comment Share on other sites More sharing options...
cactusman2 Posted August 23, 2010 Share Posted August 23, 2010 Can you give a URL? Link to comment Share on other sites More sharing options...
Stacy Ann Posted August 25, 2010 Share Posted August 25, 2010 Thank you very very very much to Cactusman2... ;-) The solution was on my_theme/css/global.cssReplace: #availability_statut { float:left; font-size:10px; height:32px; padding-left:8px; } by: #availability_statut { float:left; font-size:10px; height:32px; padding-bottom:10px; padding-left:8px; } Thank you again Cactusman2!Regards.Stacy Ann Link to comment Share on other sites More sharing options...
Recommended Posts