• Content Count

  • Joined

  • Last visited

Everything posted by antonio

  1. Hello is it possible to revise only quantity for a listed item? I don't want to revise other attributes like description or custom attribute I need only quantity.
  2. The revision policy is quantity below 5 and it doesn't work. I am using a script to change quantity of magento product: $model = $objectManager->create(\Ess\M2ePro\PublicServices\Product\SqlChange::class); //track changes for m2epro foreach ( $ids as $id ) { $qty=getQty() //set new quantity $binds = array ( 'quantity' => $qty, 'id' => $id ); $query = "UPDATE $catalog_inventory_table SET qty=:quantity WHERE product_id=:id;"; $connection->query( $query, $binds ); $model->markQtyWasChanged( $id ); //reflect change to m2epro product } $model->applyChanges(); //apply changes to m2epro It seems that it is not updated until the product is not saved.
  3. Hello I am using magento 2.3.1 and m2epro 1.4.1 . M2epro doesn't update quantity, it is not the same of the magento product quantity. If I revise item the quantity is not synchronized. How to fix this issue? Thanks
  4. Hello, I need to trigger an event when an item is listed or revised. I need to build a module for this, are there some default event to observe for m2epro?
  5. I found the solution, find the m2epro_listing table and change the store_id column with the desired value id found in the store table at the store_id column.
  6. Hello, is it possible with m2epro 1.4.1 to change magento store for all the listing?
  7. How to migrate from magento 1 to magento 2? Unfortunately my magento 1 has the m2epro 6.5.4. I can't use the migration tool as the documentation said, so how to do this without the migration tool ?
  8. Hello, is it possible to install 2 m2epro extensions on two different magento websites and use them for one ebay account?
  9. Hello I need to stop some item that has a specific requirement in a php script or observer. I have magento, php 5.5.9 . When I try this code in a php script: require_once(realpath(__DIR__) . '/bootstrap.php'); $dispatcherObject = Mage::getModel('M2ePro/Connector_Ebay_Item_Dispatcher'); $action = 4; $listingsProductsIds = array( 23226 ); $params['status_changer'] = 0; $result = (int)$dispatcherObject->process($action, $listingsProductsIds, $params); $actionId = (int)$dispatcherObject->getLogsActionId(); I get an exception: Fatal error: Uncaught Ess_M2ePro_Model_Exception_Logic: Instance does not exist. in /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Model/Abstract.php:27 Stack trace: #0 /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Helper/Component.php(517): Ess_M2ePro_Model_Abstract->loadInstance(23226, NULL) #1 /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Helper/Component/Ebay.php(88): Ess_M2ePro_Helper_Component->getComponentObject('ebay', 'Listing_Product', 23226, NULL) #2 /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Model/Connector/Ebay/Item/Dispatcher.php(243): Ess_M2ePro_Helper_Component_Ebay->getObject('Listing_Product', 23226) #3 /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Model/Connector/Ebay/Item/Dispatcher.php(30): Ess_M2ePro_Model_Connector_Ebay_Item_Dispatcher->prepareProducts(Array) #4 /var/www/html/httpdocs/scripts/m2epro_script.php(10): Ess_M2ePro_Model_Connector_Ebay_Item_Dispatcher->process(4, Array, Array) #5 {main} thrown in /var/www/html/httpdocs/app/code/community/Ess/M2ePro/Model/Abstract.php on line 27 How to create an instance ?