Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2012, 01:20 PM
Dave M1's Avatar
Dave M1 Dave M1 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Default Pure Api for Adding multiple products

We are developing iPhone/Android application where in, we will be showcasing the products directly from our database.

Once we show up the products, product will be added to the cart from the native iphone app itself. User will keep on adding up the product in the cart and this cart will be managed in native iphone application.

Now, once the cart is ready and user wants to simply checkout, is there any way to push multiple items in your webview so that cart is being generated and thereon, user can continue placing up the order?

The reason we cant open the webview on the event of adding up individula product is because once user adds one product and wants to add another one, at that time, the webview browser will be closed and the session will expire, so there wont be any track of previously added items.

Let me know whats the best way to achieve this.

Regards,

Dave.
www.ijoomer.com
Reply With Quote
  #2  
Old 01-10-2012, 03:06 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,949
Default

Unfortunately, there is currently no API that would allow to put products to cart and make a checkout. However, we certainly plan to add such API with one of the future releases of Ecwid.

A possible workaround right now would be to emulate the shopping activity with the requests to the mobile catalog of the Ecwid store in question, but this is an undocumented way of using Ecwid, we cannot guarantee the mobile store from changes in the future. Also, the mobile catalog does not allow to checkout through it if a store is set to require customers to be registered. However, other than that, the mobile store allows full buying experience (selecting product options, adding to cart, putting the addresses, preferred shipping and payment options) and is comprised of conventional HTML pages and forms, which are easy to parse or to emulate, so it may be a way to go for your project.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
  #3  
Old 01-11-2012, 12:27 PM
Dave M1's Avatar
Dave M1 Dave M1 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Default

I think we found a way out. We have planned to get the product and category data via api and get it ported on the ecwid app for iphone, android and blackberry. So, the category listing page, product list page and product details page will have its own data fetched in json format.

Once thats done, I noticed, if we post the product's add to cart form's data from native app view to mobile view of yours, it does add product to the cart. So, we have planned to run a loop to post product one by one and then get user directly to the checkout page.

Just wanted to share this with you and will update once we achieve this, may be, this can be useful to other users who want to get ecwid as mobile application itself or may be, they want to integrate it in their existing apps.

Regards,

Dave.
www.iJoomer.com
Reply With Quote
Reply

Tags
android, iphone, joomla

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:19 PM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.