Subversion Repositories SmartDukaan

Rev

Rev 5716 | Rev 6152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5716 Rev 5725
Line 88... Line 88...
88
            if(deliveryLocation.equals("myLocation")) {
88
            if(deliveryLocation.equals("myLocation")) {
89
                userClient.addStoreToCart(cartId, 0);
89
                userClient.addStoreToCart(cartId, 0);
90
            }
90
            }
91
            
91
            
92
            if (deliveryLocation.equals("HotSpot")) {
92
            if (deliveryLocation.equals("HotSpot")) {
93
                addressId = hotSpotAddressId ;
93
                userClient.addStoreToCart(cartId, hotSpotAddressId);
94
                showStorePickUpOption = true;
94
                showStorePickUpOption = true;
95
            }
95
            }
96
            // Validate the cart to ensure that we are not accepting payment for
96
            // Validate the cart to ensure that we are not accepting payment for
97
            // an invalid order.
97
            // an invalid order.
98
            errorMsg = userClient.validateCart(cartId, sourceId);
98
            errorMsg = userClient.validateCart(cartId, sourceId);