How can I integrate snipcart to create an eCommerce?

For developers using the Construct 2 Javascript SDK

Post » Fri Jun 09, 2017 4:42 pm

Hi, I found snipcart https://snipcart.com/, it's for transform any website into an eCommerce, It's written in javascript. Could be possible to integrate into Construct 2 to make an eCommerce inside a video game?
Image
B
41
S
11
G
2
Posts: 73
Reputation: 3,012

Post » Tue Dec 26, 2017 7:25 pm

Hey there, @baks! Did you end up finding a good tutorial for making eCommerce apps?
B
50
S
14
G
3
Posts: 710
Reputation: 5,974

Post » Sun Dec 31, 2017 8:14 pm

guannstar wrote:Hey there, @baks! Did you end up finding a good tutorial for making eCommerce apps?


You can add snipcart using html iframe plugins-pode-html-pack_t69356

Make buttons with htmliframe with the code of Snipcart Product:
Image

Then export it in html with construct 2, edit the index.html and add to the body the javascript code with your unique API Key:
Image

Finally upload it (For example I use a test wordpress site) and it will works.
Image
B
41
S
11
G
2
Posts: 73
Reputation: 3,012

Post » Thu Jan 04, 2018 5:11 am

Thanks!
B
50
S
14
G
3
Posts: 710
Reputation: 5,974

Post » Thu Jan 04, 2018 5:19 am

@baks Sorry (noob question here), how do I download the HTML iFrame plugin from Github? I clicked on 'Download', but it sends me to this page (https://raw.githubusercontent.com/Pseud ... inIcon.ico), instead of actually downloading the file.
B
50
S
14
G
3
Posts: 710
Reputation: 5,974

Post » Thu Jan 04, 2018 5:22 am

@baks Nevermind.... Just realized... I can download it, but I have to download the whole file, not single files. Thanks again.
B
50
S
14
G
3
Posts: 710
Reputation: 5,974


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests