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
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Mon Dec 15, 2014 11:51 pm

Sessions.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"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,418
Reputation: 4,830

Post » Mon Dec 15, 2014 11:54 pm

mhh...session? how to do that with construct2
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

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
I don't check the forums much anymore, but I will receive an email for PMs.

"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,418
Reputation: 4,830

Post » Tue Dec 16, 2014 12:03 am

it looks complicated to do :s
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614


Return to How do I....?

Who is online

Users browsing this forum: Resslx and 30 guests