'; $('#cartDrawerError').append(errorMsg); } $('#promotion__code-input-wrapper').empty(); if(data.active_voucher_promotion){ if( data.voucher_discounts.length < 1 || (data.voucher_discounts.length > 0 && data.multiple_voucher_enabled == true)){ var promotion_code_html = '