|
@@ -380,7 +380,7 @@
|
|
|
if(c<count)
|
|
if(c<count)
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
- UIAlertView * alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"Availability %@",ct ] message:NSLocalizedString(@"Confirm add to cart. ", nil) delegate:self cancelButtonTitle:NSLocalizedString(@"Cancel", nil) otherButtonTitles:NSLocalizedString(@"Confirm", nil), nil];
|
|
|
|
|
|
|
+ UIAlertView * alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"Availability %@",ct ] message:NSLocalizedString(@"Item is OUT OF STOCK and not available to order from NPD.\nAdd to cart anyway?", nil) delegate:self cancelButtonTitle:NSLocalizedString(@"No", nil) otherButtonTitles:NSLocalizedString(@"Yes", nil), nil];
|
|
|
|
|
|
|
|
// alert.
|
|
// alert.
|
|
|
|
|
|
|
@@ -540,7 +540,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- UIAlertController *alertControl = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:@"Availability %@",ct ] message:@"Confirm add to cart." preferredStyle:UIAlertControllerStyleAlert];
|
|
|
|
|
|
|
+ UIAlertController *alertControl = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:@"Availability %@",ct ] message:@"Item is OUT OF STOCK and not available to order from NPD.\nAdd to cart anyway?" preferredStyle:UIAlertControllerStyleAlert];
|
|
|
|
|
|
|
|
UIAlertAction *alertthree = [UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
|
|
UIAlertAction *alertthree = [UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction *action) {
|
|
|
[self addtocart:count];
|
|
[self addtocart:count];
|