// Fixed #PSFV-464
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13743 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -160,7 +160,11 @@
|
|||||||
<input {if $product->out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock">
|
<input {if $product->out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock">
|
||||||
<label id="label_out_of_stock_3" class="t" for="out_of_stock_3">
|
<label id="label_out_of_stock_3" class="t" for="out_of_stock_3">
|
||||||
{l s='Default'}:
|
{l s='Default'}:
|
||||||
|
{if $order_out_of_stock == 1}
|
||||||
|
<i>{l s='Allow orders'}</i>
|
||||||
|
{else}
|
||||||
<i>{l s='Deny orders'}</i>
|
<i>{l s='Deny orders'}</i>
|
||||||
|
{/if}
|
||||||
<a class="confirm_leave" href="index.php?tab=AdminPPreferences&token={$token_preferences}">
|
<a class="confirm_leave" href="index.php?tab=AdminPPreferences&token={$token_preferences}">
|
||||||
{l s='as set in Preferences'}
|
{l s='as set in Preferences'}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -3571,6 +3571,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
'product_designation' => $product_designation,
|
'product_designation' => $product_designation,
|
||||||
'product' => $obj,
|
'product' => $obj,
|
||||||
'show_quantities' => $show_quantities,
|
'show_quantities' => $show_quantities,
|
||||||
|
'order_out_of_stock' => Configuration::get('PS_ORDER_OUT_OF_STOCK'),
|
||||||
'token_preferences' => Tools::getAdminTokenLite('AdminPPreferences'),
|
'token_preferences' => Tools::getAdminTokenLite('AdminPPreferences'),
|
||||||
'token' => $this->token,
|
'token' => $this->token,
|
||||||
'languages' => $languages,
|
'languages' => $languages,
|
||||||
|
|||||||
Reference in New Issue
Block a user