Hi, ich habe dazu letztens ein kleines Snippet geschrieben. LG
/* Prevents people from inserting voucher code without submitting it */
$( document ).ready(function() {
$("a.btn--checkout-proceed").click(function(e) {
if($("input[name=sVoucher]") && $("input[name=sVoucher]").val() != '') {
e.preventDefault();
$("form.add-voucher--form").submit();
}
});
});