2. Installation

2.1 Module Installation

Please follow the following steps in order to properly install the extension :

  • Enable Magento cache with php bin/magento cache:enable
  • Upload files through FTP on you server in app/code/BoostMyShop/Amazon
  • Run php bin/magento setup:upgrade in order to install the extension
  • Deploy static content php bin/magento setup:static-content:deploy
  • Refresh Magento caches by running php bin/magento cache:refresh
  • Update var/generation and var/cache if needed

2.2 Cron Settings

List of available cron jobs :

  • stock & price update
  • order importation
  • tracking update
  • check submitted feeds response
  • clean batches history
  • push products

2.2.1 Using Magento Cron

JOB SCHEDULE
bms_amazon_offer_update */20 * * * *
bms_amazon_import_orders */20 * * * *
bms_amazon_order_ship */20 * * * *
bms_amazon_batches_check_response */10 * * * *
bms_amazon_batches_clean 12 3 * * *
bms_amazon_products_push 0 */1 * * *
bms_amazon_sync_products 0 */2 * * *

2.2.2 Using Crontab

It’s also possible to run cron jobs by using Amazon extension command’s in crontab, below examples :

JOB CRONTAB
bms_amazon_offer_update ./20 * * * * /bin/php {..}/bin/magento bms_amazon:export-offers –countryId={countryId}
bms_amazon_import_orders */20 * * * * /bin/php {..}/bin/magento bms_amazon:import-order –countryId={countryId}
bms_amazon_order_ship */20 * * * * /bin/php {..}/bin/magento bms_amazon:submit-shipment –countryId={countryId}
bms_amazon_batches_check_response */10 * * * * /bin/php {..}/bin/magento bms_amazon:check-batch-response –countryId={countryId}
bms_amazon_batches_clean 12 3 * * * /bin/php {..}/bin/magento bms_amazon:clean-batch-history –countryId={countryId}
bms_amazon_products_push 0 */1 * * * /bin/php {..}/bin/magento bms_amazon:push-products –countryId={countryId}
bms_amazon_sync_products 0 */2 * * * /bin/php {..}/bin/magento bms_amazon:synchronize-products –countryId={countryId}

Note

{countryId} must be replaced by country id in database, and you must set php bin and Magento directory according to your installation.