Ios: Designing an in-app shopping cart for iPhone

I have a design solution for creating an online ordering application. I believe this question is about a more advanced iOS / mobile e-commerce developer, but I welcome everyone who helps.

I am going to install a CMS, such as WordPress, and add a shopping cart connection. If I need to have mobile specific pages, then I will create them too, also if I need to make certain calls to PHP, then I also need to configure the API. The payment page will obviously be executed using the e-commerce plugin. It looks like 1-3 months of work, but I would LOVE to start on the right path. Therefore, any feedback or direction will be highly appreciated.

Now I have to come to make a decision on how my users will view products and the cart from their iPhone. I'm thinking of developing an application for the iPhone that allows them to order online. Obviously, the application will not only be a wrapper for the page, but will have other useful features in addition to the product and cart views.

So here is the question:

The app I’m thinking of is a UITabBar app, consisting of two views "Product" and "Shopping Cart".

Option 1 - Controls with individual messages HTTPfor adding products to the car and GETfor reading from the basket.

  • In the "Product" view, its own is implemented UITableView, each element opens a user one UITableViewCell, where the user can click on the "Add" button to the basket. When the "Add" button is pressed, it is executed HTTP POSTwith the product code and quantity and somehow it is written to the server cart in one session. I still need to figure out how to get the session key for the cart (any ideas here would be greatly appreciated).

  • "" , , , "" . , , , , ... , , HTTP- , - , , CART .

2 - - , UIWebViews

  • - UIWebView, , , , , . , - , -, , . , , UIWebView URL- , , .

  • (UIWebView), , , . , , UIWebViews , . .

3 - "" ,

  • , reset . , . .

  • - , . "check out" "" . , ?


  • , ?
  • , 2?
  • - , - ?
+4
1

,

.h BBBadgeBarButtonItem,

BBBadgeBarButtonItem *barButton;  

.m barButton,

barButton = [[BBBadgeBarButtonItem alloc] initWithCustomUIButton:yourBtnOutlet];
barButton.badgeValue = @"0";
barButton.badgeOriginX = 13;
barButton.badgeOriginY = -9;

,

barButton.badgeValue = [NSString stringWithFormat:@"%d", [barButton.badgeValue intValue] + 1];
0

All Articles