BOLD quantity discount

  1. Add following code in Upsell Cart Drawer’s Custom Javascript field on Settings page and Save:

    /* BOLD's quantity discount */
    upside.ucd.filters.cart.push( function( cart ){
        if( typeof BOLD === "object" && typeof BOLD.common === "object" && typeof BOLD.common.cartDoctor === "object" && typeof BOLD.common.cartDoctor.fix === "function" )
        {
             return BOLD.common.cartDoctor.fix( cart )
        }
           
        return cart;
    });
    /* /BOLD's quantity discount */
    
  2. Test through.