shopify developer account https://accounts.shopify.com/login kafu@creativecomputing.com.au c0ntr6l

demo phone shopify demo store https://crecomphone.myshopify.com/admin kafu@creativecomputing.com.au c0ntr6l

Step to setup shopify.

1, login to the developer account. click the shopify partner link and login with ths same account as the developer account.

2, choose the store link in the left hand side then click add store.

3, after created the store, to the the store's backend app tab and say manage private app and generate a key

4, save the generated key in CCDIR/shopifytoken/branchcode.token in the following form

5, put the store domain on the branch online store datasource field.

6, expost the images and shopifyorder.cgi to outside world

if on sam create a dir under company directory, inside the shop dir it should have shopifyorder.cgi and images direcotry in it to exposted to the outside world , link the shop dir to /var/html/www/shopifytest/shopname then it will have a outside accessable url as https://shopify.creativecomputing.com.au/shopname/images and https://shopify.creativecomputing.com.au/shopname/shopifyorder.cgi

7, save the image directory to braad online image url

8, setup the first online location on gencont

9, set up braad online sales person and online customer

10, set up drcont next customer number so integration can create customer

11, run sturep and catrep to clear all online id.

12,set the one want to be online to yes.

13,fdb2log -B onlinelocation -a8 -a9 , then log2webshop

14, in the store backend ->online store navigation ->setup main menu to include all the category, this step can only be done manually

15, check the tax setting on shopify and config gencont to match

16, setup webhook so control will receive order when is done online.

a, create a terminal conset it to the online company and online branch

b, there is a file /u/ccr.16/std/shopify/samplewebhook , make a copy of it, and change the address to the shopifyorder.cgi that get exposted to the world. append the ?TERMINALcode to the address.

c, there is a file /u/ccr.16/std/shopify/registerwebhook, run it as follow

registerwebhook <tokenfile> <store domain> <samplewebhook>

e.g. registerwebhook /u/ccr.16/PHONDEMO/shopifytoken/SYDNEY.token crecomphone.myshopify.com samplewebhook