Problem between import and modules in prestashop

Problem between import and modules in prestashop

Avatar image
Jan 21, 2014
Davide Manzoni wrote
Hello,

i'm using prestashop manager and automated product import to update my stocks, and it works fine. I'm having problems with the interaction between other modules and the import in prestashop manager. There is no trace in database of the stock moves and the other modules cannot detect it, and therefore they don't update the stocks (example: amazon connector i have doesn't detect product imports from prestashop manager). I have researched the issue and all the bulk update should behave like the prestashop standard script using "hook"
FYI, the default Prestashop import script is conform with this usage.
Developer Note :
In addition to your script, you must use a Hook to update the stock level :
Hook::exec('actionUpdateQuantity',
array(
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'quantity' => $stock_available->quantity
)
);

Can you please provide me a solution or workaround to this problem ? For me is really huge cause i cannot sell on amazon if i don't know stocks are in order.

Thanks in advance
Best Regards

Davide Manzoni
QB Store
Reply
1 Answer
Avatar image
Jan 21, 2014
Dmytro Grycelyak agent wrote
Ticket reply:
=================================
Hello Davide,

Thank you for contacting us.

Yes, the Store Manager operates directly with the database and does not hook the third party modules.

However you're welcome to submit it as a feature and we will consider it in future: http://support.emagicone.com/823795-PrestaShop-Manager-Feature-Request

Feel free to contact us with additional questions.