예제 #1
0
 public void UpdateShoppingCart(int cartID, string quantitys, int storeID, int portalID, string cartItemIDs,string userName,string cultureName)
 {
     try
     {
         CartManageSQLProvider crtManSQLProvider = new CartManageSQLProvider();
         crtManSQLProvider.UpdateShoppingCart(cartID, quantitys, storeID, portalID, cartItemIDs, userName, cultureName);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public List<ShippingMethodInfo> GetShippingMethodByWeight(int storeID, int portalID, int customerID, string userName, string cultureName, string sessionCode)
 {
     try
     {
         CartManageSQLProvider cmSQLProvider = new CartManageSQLProvider();
         return cmSQLProvider.GetShippingMethodByWeight(storeID, portalID, customerID, userName, cultureName, sessionCode);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #3
0
 public void ClearAllCartItems(int cartID, int customerID, string sessionCode, int storeID, int portalID)
 {
     CartManageSQLProvider crtManSQLProvider = new CartManageSQLProvider();
     crtManSQLProvider.ClearAllCartItems(cartID, customerID, sessionCode, storeID, portalID);
 }
예제 #4
0
 public void DeleteCartItem(int cartID, int cartItemID, int customerID, string sessionCode, int storeID, int portalID, string userName)
 {
     try
     {
         CartManageSQLProvider crtManSQLProvider = new CartManageSQLProvider();
         crtManSQLProvider.DeleteCartItem(cartID, cartItemID, customerID, sessionCode, storeID, portalID, userName);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #5
0
 public List<CartInfo> GetCartDetails(int storeID, int portalID, int customerID, string userName, string cultureName, string sessionCode)
 {
     try
     {
         CartManageSQLProvider crtManSQLProvider = new CartManageSQLProvider();
         return crtManSQLProvider.GetCartDetails(storeID, portalID, customerID, userName, cultureName, sessionCode);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #6
0
    public bool CheckCart(int itemID, int storeID, int portalID, string userName, string cultureName)
    {
        try
        {
            CartManageSQLProvider cartSqlProvider = new CartManageSQLProvider();
            return cartSqlProvider.CheckCart(itemID, storeID, portalID, userName, cultureName);

        }
        catch (Exception ex)
        {
            throw ex;
        }
    }