Add following in custom JS
window.addEventListener( "Sellify::UCD::CartBuilt", function( e ){ var a = JSON.parse( localStorage.getItem( 'dcSettings' ) ) a.appActive = true; a.config.classes.button = "sellify-ucd-discount-apply" a.config.classes.innerWrapper = "sellify-ucd-discount-inner-holder" a.config.classes.input = "sellify-ucd-discount-input" a.config.classes.outerWrapper = "sellify-ucd-discount-outer-holder" a.config.changeSubtotal = true a.config.customSubtotal = ".ucdcart__footer DIV.grid__item.one-third.text-right > P" localStorage.setItem( 'dcSettings', JSON.stringify( a ) ) } )
Add followings in custom css:
#sellify-ucd-cart-drawer .sellify-ucd-discount-inner-holder { padding:20px; display:grid; grid-template-columns:1fr 120px; } #sellify-ucd-cart-drawer .sellify-ucd-discount-inner-holder button { padding:15px; border-radius:0; } #sellify-ucd-cart-drawer .sellify-ucd-discount-inner-holder input { border-radius:0; padding:10px; min-width:0; } #sellify-ucd-cart-drawer .dcDiscountBox { display:block; margin:0 20px 20px; padding:20px; } #sellify-ucd-cart-drawer #removeDiscount { background:none; float:right; padding:3px 0; } #sellify-ucd-cart-drawer #dcodeNewSubtotal br { display:none; } #sellify-ucd-cart-drawer .dcodeLineThrough { opacity:0.5; } #sellify-ucd-cart-drawer .dcodeTable { display:table; max-width:100%; width:100%; background:#f7f8f9; } #sellify-ucd-cart-drawer .dcodeTable td { padding:20px 20px 0 20px; } #sellify-ucd-cart-drawer .dcodeTable td.dcRestriction { padding:0 20px 20px 20px; display: none; } #sellify-ucd-cart-drawer #dcodeInfo { margin-top:0; } #sellify-ucd-cart-drawer .dcodeLineThrough { opacity:1!important; text-decoration:none!important; } #sellify-ucd-cart-drawer .dcodeLineThrough span { opacity:0.5; text-decoration:line-through; } #sellify-ucd-cart-drawer .dcodeTable td { display:inline-block; padding:20px 20px 0; font-size:17px; text-transform:uppercase; } #sellify-ucd-cart-drawer .dcodeTable { background:none!important; } @media only screen and (max-width:600px) { #sellify-ucd-cart-drawer .sellify-ucd-discount-inner-holder { grid-template-columns:1fr 70px; } #sellify-ucd-cart-drawer .dcodeTable td:first-of-type { padding-right:10px; } #sellify-ucd-cart-drawer .dcodeTable td + td { padding-left:10px; } }