Oprava je jednoducha. V subore
Kód: Vybrať všetko
catalog\view\theme\<vasa tema>\template\checkout\checkout.tpl
Kód: Vybrať všetko
$('#button-payment-method').button('reset');
Kód: Vybrať všetko
if (json['error']['warning']) {
$('#collapse-payment-method .panel-body').prepend('<div class="alert alert-warning">' + json['error']['warning'] + '<button type="button" class="close" data-dismiss="alert">×</button></div>');
}
Kód: Vybrať všetko
if (json['error']['warning']) {
$('#collapse-payment-method .panel-body').prepend('<div class="alert alert-warning">' + json['error']['warning'] + '<button type="button" class="close" data-dismiss="alert">×</button></div>');
$('#button-payment-method').button('reset'); // fix continue button - reset in case of warning
}