Differences between revisions 23 and 24
Revision 23 as of 2018-06-01 06:40:47
Size: 2407
Editor: fuzzy
Comment:
Revision 24 as of 2018-09-24 01:56:50
Size: 2559
Editor: fuzzy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
| Create attributes and attribute groups
Line 16: Line 16:
| Go to Stores->Product (make sure type is dropdown, and set global in advanced)

Go to Stores->Attribute Groups

MAGENTO2 Integration Info:

Our Internal Magento2 server is:

http://furniture2.crecom.com.au

Admin page:

http://furniture2.crecom.com.au/administrator

admin login: support

password: c0ntr6l

Create attributes and attribute groups

Go to Stores->Product (make sure type is dropdown, and set global in advanced)

Go to Stores->Attribute Groups

Re-import Stock and Categories from Control to Magento2 Database:

0. mark sure dumpodbc and impmagord is not running in the background. use "initctl list" and "initctl stop dumpodbc"

1. use "coaad" page 2,"braad" online,"gencont" online, "coxaad" online ord id and "condisp -c -b" to make sure you are in the right branch and company. also you can "export SCRIPT_ID=$NODEID" to make sure the log2magento program won't be affected by the false errors.

2. "log2magento -i" to delete the stocks and categories in the magento. And confirm the stocks and categories are deleted from the magento in magento web page.

3. clear the online ID for Stocks: "sturep" -> E -> 6 -> "your branch" -> "your branch" -> N -> N -> N -> Y -> hit enter -> hit enter -> hit enter -> hit enter

4. clear the online ID for Categories: "catrep" -> E -> S -> Y -> Y -> N -> hit enter -> hit enter -> hit enter -> hit enter

5. "cp $CCDIR/standard/dblog.dat $CCDIR/<your company>/"

6. "gol" -> "fdb2log -B <your branch location> -a8"

7. "log2magento -C" to dump the categories to the magento 2 server.

8. "cp $CCDIR/standard/dblog.dat $CCDIR/<your company>/"

9. "fdb2log -B <your branch location> -a9" (remember the number of the stock items!; ALSO the images of items could NOT be .bmp type.)

10. "log2magento -C" to dump the stocks to the magento 2 server.

//

!!!! KEEP CHECKING the stock numbers in the MAGENTO server. IF the magento server's stock number is not increased for 10 mins and the stock number is the same as the stock number which is generated by step 9. We need to manually kill the log2magento process.

Setup the automatic magento <=> control scripts:

check /etc/init/dumpodbc.conf and /etc/init/impmagord.conf, make sure they are conset to the right company and location.

1. initctl list (make sure dumpodbc and impmagord is not running)

2. initctl start dumpodbc

3. initctl start impmagord

Magento 2 Account info (for upgrading and buying with private/public keys):

support@creativecomputing.com.au 11QQaa!!

Magento2 (last edited 2025-10-02 03:12:46 by KafuWong)