// Fixed #PSFV-464
This commit is contained in:
1 parent
762b44b39f
commit
c570cb6301
2 files changed
+5
No files matched your search
@@ -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