Magento 2 and Ebay Inventory Synchronisation


Rahul
 Share

Recommended Posts

Hi,

I am facing problem between Magento 2 and Ebay Inventory Synchronisation. Inventory in not sync between M2epro ebay listing.

I have checked synchronisation settings and those shows correct. But still inventory is not correct on M2Epro Ebay Listing.

Now I am writing a code as per this tutorial to observe product and update inventory.

But I am getting error that 

Quote

Uncaught Error: Class 'Ess\M2ePro\Model\PublicServices\Product\ObjectChange' not found

Below is my code - 

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$modelFactory = $objectManager->getObject('\Ess\M2ePro\Model\Factory');
$model = $modelFactory->create('PublicServices\Product\ObjectChange');
$model->observeProduct($id);

Can anyone help me to fix this . 

Link to comment
Share on other sites

8 minutes ago, Rahul said:

Hi,

I am facing problem between Magento 2 and Ebay Inventory Synchronisation. Inventory in not sync between M2epro ebay listing.

I have checked synchronisation settings and those shows correct. But still inventory is not correct on M2Epro Ebay Listing.

Now I am writing a code as per this tutorial to observe product and update inventory.

But I am getting error that 

Below is my code - 


$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$modelFactory = $objectManager->getObject('\Ess\M2ePro\Model\Factory');
$model = $modelFactory->create('PublicServices\Product\ObjectChange');
$model->observeProduct($id);

Can anyone help me to fix this . 

Is there any other way to fix inventory synchronisation issue ? 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share