[-] BO : fixed bug -> product/combination ergonomics
This commit is contained in:
@@ -195,8 +195,9 @@
|
||||
</td>
|
||||
<td style="padding-bottom:5px;">
|
||||
{if $currency->format % 2 != 0}{$currency->sign}{/if}
|
||||
<input type="text" size="6" name="attribute_wholesale_price" id="attribute_wholesale_price" value="0.00" onKeyUp="if (isArrowKey(event)) return ;this.value = this.value.replace(/,/g, '.');" />
|
||||
{if $currency->format % 2 == 0} {$currency->sign} {/if}({l s='overrides Wholesale price on Information tab'})
|
||||
<input type="text" size="6" name="attribute_wholesale_price" id="attribute_wholesale_price" value="" onKeyUp="if (isArrowKey(event)) return ;this.value = this.value.replace(/,/g, '.');" />
|
||||
{if $currency->format % 2 == 0} {$currency->sign} {/if}<span id="attribute_wholesale_price_blank">({l s='leave blank if the price does not change'})</span>
|
||||
<span style="display:none" id="attribute_wholesale_price_full">({l s='overrides Wholesale price on Information tab'})</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
+10
-1
@@ -175,7 +175,16 @@ function editProductAttribute(ids, token)
|
||||
var virtual_product_expiration_date_attribute = data[0]['date_expiration'];
|
||||
var virtual_product_nb_days = data[0]['nb_days_accessible'];
|
||||
var is_shareable = data[0]['is_shareable'];
|
||||
|
||||
if (wholesale_price != 0 && wholesale_price > 0)
|
||||
{
|
||||
$("#attribute_wholesale_price_full").show();
|
||||
$("#attribute_wholesale_price_blank").hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#attribute_wholesale_price_full").hide();
|
||||
$("#attribute_wholesale_price_blank").show();
|
||||
}
|
||||
fillCombinaison(
|
||||
wholesale_price,
|
||||
price,
|
||||
|
||||
Reference in New Issue
Block a user