|
|
@@ -317,11 +317,10 @@ function opendistrib_products_event_unit(change) { |
|
|
|
if (unit == 'piece') { |
|
|
|
$('.field-product-step').hide(); |
|
|
|
$('.field-product-weight label').html('Poids (g)'); |
|
|
|
//$('.field-product-weight').show(); |
|
|
|
} else { |
|
|
|
$('.field-product-step').show(); |
|
|
|
$('.field-product-weight label').html('Poids (' + $('#product-unit').val() + ')'); |
|
|
|
//$('.field-product-weight').hide(); |
|
|
|
//$('.field-product-weight label').html('Poids (' + $('#product-unit').val() + ')'); |
|
|
|
$('.field-product-weight label').html('Poids (g)'); |
|
|
|
} |
|
|
|
|
|
|
|
var label_price_ttc = $('.field-product-price .control-label.with-tax'); |