Search the Community
Showing results for tags 'available_now'.
-
Pentru Prestashop 1.7.X nu mai este de actualitate "Eticheta cand este in stoc" ? Curios e ca in BO pe produs exista posibilitatea de a introduce text (in tabela product_lang observ ca apare textul dorit pe coloana available_now ceea ce este ok) dar in FO pe produs nu se afiseaza sau cel putin nu este preluata eticheta in product.tpl . Thx.
-
Hello, I would like to set an automatic default value to all products, in "Displayed text when in-stock" form, in quantities produtcs tab. Can someone give me a hand? This is what i had discovered so far: In Prestashop Admin the form is here: Admin->Catalog->Products->Quantities->Displayed text when in-stock On server the file that must be edited is: /public_html/admin/themes/default/template/controllers/products/quantities.tpl On quantities.tpl file i need to edit line 248: "input_value=$product->available_now" {if $ps_stock_management} <div class="form-group"> <div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="available_now" type="default" multilang="true"}</span></div> <label class="control-label col-lg-2" for="available_now_{$default_language}"> <span class="label-tooltip" data-toggle="tooltip" title="{l s='Forbidden characters:'} <>;=#{}"> {l s='Displayed text when in-stock'} </span> </label> <div class="col-lg-9"> {include file="controllers/products/input_text_lang.tpl" languages=$languages input_value=$product->available_now input_name='available_now'} </div> </div> ==================================================================== My question is: How can i edit this line: input_value=$product->available_now so the automatic default value "In stock" is set to all products in shop? PS: I have replaced input_value=$product->available_now with input_value="In stock" but in admin shop is displayed only "s" value. Thanks!
- 3 replies
-
- available_now
- automatic default value
- (and 1 more)