Jump to content

Syncing Stock Levels With Linnworks


Recommended Posts

Hi I am brand new to all this. I am building a website using a CSV file to import all categories and data. I have managed to upload that without difficulties however I am having trouble syncing my stock levels. Everything seems to be fine on the Linnworks side and i was wondering if there is something I have not set up right on presta shop.

 

Thanks in advance for any help.

  • Like 1
Link to comment
Share on other sites

Note: I have not worked with Linnworks.

 

- when you sell something using presta, how Linnworks knows to substract the stock?

- if you modify something to Linnworks how you notify presta?

Link to comment
Share on other sites

Hi Radu

 

Thanks for replying.

 

Linnworks syncs automatically with presta shop and downloads all orders etc. This is all working fine I.e when I get an order it syncs with linnworks and thats fine. Its the stock levels which don't seem to be working.

Link to comment
Share on other sites

  • 1 month later...

Hi

 

Go to settings>chanel intergration>config>query designer>edit update inventory> and then paste the following into tags:

 

 

UPDATE

`ps_stock_available` AS sa

INNER JOIN `ps_product` AS p on p.id_product = sa.id_product

SET

sa.quantity = CONVERT('[{NewQuantity}]', signed integer),

p.quantity = CONVERT('[{NewQuantity}]', signed integer)

WHERE p.reference = '[{ChannelSKU}]'

--GO;--

UPDATE ps_product_attribute

SET

quantity = CONVERT('[{NewQuantity}]', signed integer)

WHERE reference = '[{ChannelSKU}]';

 

That should do it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...