|
Size: 220
Comment:
|
Size: 3197
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| shopify developer account https://accounts.shopify.com/login kafu@creativecomputing.com.au c0ntr6l |
shopify developer account https://accounts.shopify.com/login kafu@creativecomputing.com.au c0ntr6l |
| Line 6: | Line 3: |
| demo phone shopify demo store [[https://crecomfurniture.myshopify.com/admin|https://crecomphone.myshopify.com/admin]] kafu@creativecomputing.com.au c0ntr6l | |
| Line 7: | Line 5: |
| fopify develop store https://creativecomputing.myshopify.com/admin support@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 4, save the generated key in CCDIR/shopifytoken/branchcode.token in the following form . publickey:secret 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, check the tax setting on shopify and config gencont to match . in shopify->setting->macket->prefference->taxes->set include or exclude tax in gencont->online->magento price remove tax set to match the above shopify setting 14a,coaad need to set company to dump to dblog 14b,fdb2log -B onlinelocation -a8 -a9 , then log2webshop// on dump after the tax setting as it will affect every item 15, in the store backend ->online store navigation ->setup main menu to include all the category, this step can only be done manually . shopify->online_store->nevigtion->main_menu->add_menu then put the category name in the name, then in the link field choose collections and search for the cat name. then save. need to create every sub category the same way as well. then drag and drop the subcategory to the main category. 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 . then test by adding a test order to shopify which should create a order in control *note that if something appear missing from the above, make sure you are using a recent browser under windows. menu items can potentially not show up under linux/mac |
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
4, save the generated key in CCDIR/shopifytoken/branchcode.token in the following form
- publickey:secret
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, check the tax setting on shopify and config gencont to match
in shopify->setting->macket->prefference->taxes->set include or exclude tax in gencont->online->magento price remove tax set to match the above shopify setting
14a,coaad need to set company to dump to dblog
14b,fdb2log -B onlinelocation -a8 -a9 , then log2webshop// on dump after the tax setting as it will affect every item
15, in the store backend ->online store navigation ->setup main menu to include all the category, this step can only be done manually
shopify->online_store->nevigtion->main_menu->add_menu then put the category name in the name, then in the link field choose collections and search for the cat name. then save. need to create every sub category the same way as well. then drag and drop the subcategory to the main category.
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
- then test by adding a test order to shopify which should create a order in control
*note that if something appear missing from the above, make sure you are using a recent browser under windows. menu items can potentially not show up under linux/mac
