rhaces Posted September 15, 2012 Share Posted September 15, 2012 (edited) Hi All, I'm new to prestashop and just been playing with it for a couple of days. I inhearited the management of a prestashop portal and I have the following issue. I was asked to allow the users to buy with out of stock, I have enabled it in Preferences/Products "Allow ordering of out-of-stock products" and that seems to work. But now what I'm asked is to add a test to the products that are out of stock sayin "Shipping in one week" so I added the text to all of the products in the available_later field, but it is not showing anything in my shop. I know the former tech team that managed the shop did a lot of modifications so I wonder where can I look for in order to have this availabe. BTW, if I look at my product.tpl in my themes, I see the hook for it: <p id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </p> And if I add any static text after the {$HOOK_PRODUCT_OOS} it is correctly displayed whe the user selects a product out of stock (wich makes me know that if $product->quantity > 0 is working Edited September 15, 2012 by rhaces (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted September 16, 2012 Share Posted September 16, 2012 Good Morning, Perhaps you could enter your required message " Shipping in one week" by going to: Back Office > Tools > Translations > Product Expressions Hope this helps Paul Link to comment Share on other sites More sharing options...
rhaces Posted September 16, 2012 Author Share Posted September 16, 2012 Back Office > Tools > Translations > Product Expressions Nop, this doesn't help, this text is for the actual "out of stock" text, but not the message to show if the product is out of stock (wich in theory is in the avaialbe_later field in product_attributes table Link to comment Share on other sites More sharing options...
Recommended Posts