MAGENTO2 Integration Info:
Our Internal Magento2 server is:
Admin page:
http://apparel2.crecom.com.au/administrator
admin login: support
password: c0ntr6l
|
|
Re-import Stock and Categories from Control to Magento2 Database:
1. use "gencont" 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!)
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.
Magento 2 Account info (for upgrading and buying with private/public keys):
support@creativecomputing.com.au 11QQaa!!
