Browse Source

[Administration] Produit > Édition : Poids toujours en grammes

feature/rotating_product
Guillaume Bourgeois 8 months ago
parent
commit
5d71bd0203
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      backend/web/js/backend.js

+ 2
- 3
backend/web/js/backend.js View File

@@ -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');

Loading…
Cancel
Save