[+] BO : Product "For" and combination button
This commit is contained in:
@@ -3944,10 +3944,10 @@ a .icon-flip-vertical:before {
|
|||||||
.icon-chevron-right:before {
|
.icon-chevron-right:before {
|
||||||
content: "\f054"; }
|
content: "\f054"; }
|
||||||
|
|
||||||
.icon-plus-sign:before, .process-icon-newCombination:before {
|
.icon-plus-sign:before, .toolbar-new:before {
|
||||||
content: "\f055"; }
|
content: "\f055"; }
|
||||||
|
|
||||||
.icon-minus-sign:before {
|
.icon-minus-sign:before, .toolbar-cancel:before {
|
||||||
content: "\f056"; }
|
content: "\f056"; }
|
||||||
|
|
||||||
.icon-remove-sign:before {
|
.icon-remove-sign:before {
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
var msg_combination_2 = '{l s='Please choose a value.'}';
|
var msg_combination_2 = '{l s='Please choose a value.'}';
|
||||||
var msg_combination_3 = '{l s='You can only add one combination per attribute type.'}';
|
var msg_combination_3 = '{l s='You can only add one combination per attribute type.'}';
|
||||||
var msg_new_combination = '{l s='New combination'}';
|
var msg_new_combination = '{l s='New combination'}';
|
||||||
|
var msg_cancel_combination = '{l s='Cancel combination'}';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{if isset($product->id) && !$product->is_virtual}
|
{if isset($product->id) && !$product->is_virtual}
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ product_tabs['Combinations'] = new function(){
|
|||||||
$('#add_new_combination').show();
|
$('#add_new_combination').show();
|
||||||
$('.process-icon-newCombination').removeClass('toolbar-new');
|
$('.process-icon-newCombination').removeClass('toolbar-new');
|
||||||
$('.process-icon-newCombination').addClass('toolbar-cancel');
|
$('.process-icon-newCombination').addClass('toolbar-cancel');
|
||||||
$('#desc-product-newCombination div').html($('#ResetBtn').val());
|
$('#desc-product-newCombination div').html(msg_cancel_combination);
|
||||||
$('id_product_attribute').val(0);
|
$('id_product_attribute').val(0);
|
||||||
self.init_elems();
|
self.init_elems();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user