// merge 6001,6010,6012,6013
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6018 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
2430f917d5
commit
38cf360a0b
5 files changed
+15
-13
No files matched your search
@@ -320,7 +320,7 @@ var fieldRequired = '{l s='Please fill in all required fields' js=1}';
|
||||
<p id="product_reference" {if isset($groups) OR !$product->reference}style="display: none;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p>
|
||||
|
||||
<!-- quantity wanted -->
|
||||
<p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity == 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>
|
||||
<p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>
|
||||
<label>{l s='Quantity :'}</label>
|
||||
<input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}" size="2" maxlength="3" {if $product->minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} />
|
||||
</p>
|
||||
@@ -334,10 +334,10 @@ var fieldRequired = '{l s='Please fill in all required fields' js=1}';
|
||||
{/if}
|
||||
|
||||
<!-- availability -->
|
||||
<p id="availability_statut"{if ($product->quantity == 0 && !$product->available_later && $allow_oosp) OR ($product->quantity != 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>
|
||||
<p id="availability_statut"{if ($product->quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>
|
||||
<span id="availability_label">{l s='Availability:'}</span>
|
||||
<span id="availability_value"{if $product->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}
|
||||
<span id="availability_value"{if $product->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}
|
||||
</span>
|
||||
</p>
|
||||
|
||||
@@ -354,7 +354,7 @@ var fieldRequired = '{l s='Please fill in all required fields' js=1}';
|
||||
{$HOOK_PRODUCT_OOS}
|
||||
</p>
|
||||
|
||||
<p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties OR $product->quantity == 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if} >{l s='Warning: Last items in stock!'}</p>
|
||||
<p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if} >{l s='Warning: Last items in stock!'}</p>
|
||||
|
||||
{if $product->online_only}
|
||||
<p>{l s='Online only'}</p>
|
||||
|
||||
@@ -67,10 +67,10 @@
|
||||
{/if}
|
||||
<!-- availability -->
|
||||
<p class="comparison_availability_statut">
|
||||
{if !(($product->quantity == 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE)}
|
||||
{if !(($product->quantity <= 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE)}
|
||||
<span id="availability_label">{l s='Availability:'}</span>
|
||||
<span id="availability_value"{if $product->quantity == 0} class="warning-inline"{/if}>
|
||||
{if $product->quantity == 0}
|
||||
<span id="availability_value"{if $product->quantity <= 0} class="warning-inline"{/if}>
|
||||
{if $product->quantity <= 0}
|
||||
{if $allow_oosp}
|
||||
{$product->available_later|escape:'htmlall':'UTF-8'}
|
||||
{else}
|
||||
|
||||
Reference in new issue
Block a user