Updating M2 shipeasy

From Moogento How-to Guides
Jump to navigation Jump to search

Brief guide to updating latest shipEasy & profitEasy

- We've changed the db tables - Easiest is to remove previously-added tables, reset install flag and run db update

Details:

ShipEasy:

  1. In your db, in 'setup_module' table, delete the entry for the specific Moogento plugin you want to update
  2. In your db, in `core_config_data`, search for path %LIKE% shipeasy
  3. If you haven't had changes to the setup, delete those entries
  4. In your db, look for 3 tables with timezone in the title. Delete those.
  5. Run:
    php -dmemory_limit=512M bin/magento setup:di:compile

profitEasy:

  1. In your db, in 'setup_module' table, delete the entry for the specific Moogento plugin you want to update
  2. In your db, in `core_config_data`, search for path %LIKE% profiteasy
  3. If you haven't had changes to the setup, delete those entries
  4. In your db, in table `sales_order`, look for these columns:
    1. shipping_cost
    2. profit_amount
    3. profit_calculated
  5. Delete, once you're sure they're not used elsewhere
  6. Run:
    php -dmemory_limit=512M bin/magento setup:di:compile