Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

I want to know how Android / IOS app handle price changes while placing order from mobile?

I have create one android APP. with back end magento. I have create REST API for send data on mobile side. When user add item in to cart and on placer order screen, At that time if admin has change price of product which is add by app. user. Now for that user has item with old price. When placer order magento will consider new price. So i want to add check point and inform to that user that price has been change. If i check typical way that on place order API check every item in cart then response time will increase. Is there any way form that i can check with minimum response time.

 

Thank you,

Sunit Ardeshna

user-image
Question added by Sunit Ardeshna , Sr. Magento Developer , Innovify
Date Posted: 2015/10/17
Swatee Salunkhe
by Swatee Salunkhe , Sr. Mobile application Developer ( SAP SMP ) , ServPRO Technology Pvt Ltd

In this case, You should maintain table in backend for price change date. And at app level, you can save the last price change date in your device (User Defaults or offline). 

Before placing Order,you will call API for price change date, if its changed then you need to update your Price menu for all items which you save offline (in case of below- items), then of course notify user about price change. also you should ask user for weather he want to place such changed order.

Mohamad Kaakati
by Mohamad Kaakati , Co-Founder & Chief Technology Officer , BARQ FAST TECH Co

In iOS if you are using UITableView or UICollectionView to display your items, you should implement your connectivity method with the ReloadData so you can update your prices, and if you want to check for one item only, you need to add a listener on your app that will receive a message from the server to update the price for that particular item.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.