Browse Source

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

feature/rotating_product
Guillaume Bourgeois 7 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

if (unit == 'piece') { if (unit == 'piece') {
$('.field-product-step').hide(); $('.field-product-step').hide();
$('.field-product-weight label').html('Poids (g)'); $('.field-product-weight label').html('Poids (g)');
//$('.field-product-weight').show();
} else { } else {
$('.field-product-step').show(); $('.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'); var label_price_ttc = $('.field-product-price .control-label.with-tax');

Loading…
Cancel
Save