Page 1 of 1

[ASK] Session

Posted: Tue Jul 15, 2014 6:45 am
by Grandong
i have 2 data from API.

data1= one way
data2= round trip

how to : if user select data1, data1 send to cart then user select data2 then go to cart

how i can do it ?

Re: [ASK] Session

Posted: Tue Jul 15, 2014 6:54 am
by Celauran
A little more detail, please? I can't see someone selecting one way and round trip for the same flight; it doesn't make any sense. If they've added one-way, then select round trip, you want to replace the existing one-way? Is that what you're asking or am I way off base?

Re: [ASK] Session

Posted: Tue Jul 15, 2014 7:56 am
by Grandong
Celauran wrote:A little more detail, please? I can't see someone selecting one way and round trip for the same flight; it doesn't make any sense. If they've added one-way, then select round trip, you want to replace the existing one-way? Is that what you're asking or am I way off base?
No Sir.. this is ex:

user search round trip cgk-dps
startdate: 17 endate: 18
and api will show 2 resul :

cgk-dps date 17 and dps-cgk date 18

How To get two data ?
this my project link :
http://jatinangor-service.com/v1/search ... 02a0bbcf6a