How do I make a buy system

Get help using Construct 2

Post » Mon Dec 15, 2014 11:33 pm

hello, i would like to know if this is possible

it is possible to make an app where the user select products and after the selection the price is sended to a cart "your purchase" for buying that online?
like a e-commerce?
B
36
S
13
G
7
Posts: 1,648
Reputation: 9,323

Post » Mon Dec 15, 2014 11:51 pm

Sessions.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Mon Dec 15, 2014 11:54 pm

mhh...session? how to do that with construct2
B
36
S
13
G
7
Posts: 1,648
Reputation: 9,323

Post » Mon Dec 15, 2014 11:59 pm

You don't. You have to use a server side web language like PHP, Java, etc.

We use HTTP sessions in Java servlets run on a Tomcat container on a Linux Ubuntu server hosted by Amazon Web Services.

Then interface the session with Construct either by AJAX calls or direct JS variable injection.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Tue Dec 16, 2014 12:03 am

it looks complicated to do :s
B
36
S
13
G
7
Posts: 1,648
Reputation: 9,323


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ and 3 guests