[-] FO : Fix bug #PSCFV-7562 no availability date in tempalte
This commit is contained in:
1 parent
ea2a1eb122
commit
c5d3c6e293
2 files changed
+7
-4
No files matched your search
@@ -239,7 +239,8 @@ span.view_scroll_spacer {
|
|||||||
margin: 10px 0 0 0;
|
margin: 10px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#availability_statut span#availability_label {
|
#availability_statut span#availability_label,
|
||||||
|
#availability_statut span#availability_date_label {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
width:125px;
|
width:125px;
|
||||||
font-weight:700;
|
font-weight:700;
|
||||||
|
|||||||
@@ -337,9 +337,11 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
|
|||||||
<!-- availability -->
|
<!-- 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_label">{l s='Availability:'}</span>
|
||||||
<span id="availability_value"{if $product->quantity <= 0} class="warning_inline"{/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>
|
||||||
{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}
|
{if $product->quantity <= 0 && isset($product->available_date) && $product->available_date >= $smarty.now|date_format:'%Y-%m-%d'}
|
||||||
</span>
|
<br class="clear"/><span id="availability_date_label">{l s='Availability date:'}</span>
|
||||||
|
<span id="availability_date_value">{$product->available_date}</span>
|
||||||
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- number of item in stock -->
|
<!-- number of item in stock -->
|
||||||
|
|||||||
Reference in new issue
Block a user