Has anyone tried using commerce_feed with commerce_stock to import inventory values for existing products?

What was the result? Did it work?

Thanks

Comments

iaugur’s picture

We have done this many times and it is straight forward. I recommend watching Randy Fay's excellent videos - especially http://vimeo.com/22731881
That covers the use of commerce feeds and is a great start.
Once the stock field is configured it's available for mapping through feeds.
Good luck!

ahimsauzi’s picture

Can you elaborate? Does commerce product processor or node processor should be activated? I am not having any luck updating existing products yet.

Thanks in advance!

rtdean93’s picture

The commerce product processor should be used. In order for the stock fields to be visible, make sure that the product type has been configured in the store configuration.

guy_schneerson’s picture

Status: Active » Closed (works as designed)

thanks @iAugur & @rtdean93

petednz’s picture

Thanks for the pointer.
Confirm this worked for us too - though in our case we are wanting to add/subtract the number from the csv, not just replace it.

The scenario is Commerce is used for online sales, but there are also 2 physical shops. At end of day, each shop will supply a list of 'sales' by sku - we want to then import those as 'changes' to stock numbers, so we can use Commerce Stock as the main stock tool.

Any thoughts?

marktheshark’s picture

Have you had luck with this? I'm trying to do the exact same thing.

I'm trying to write a modified Processor extending the Commerce Feeds Product Processor that will read the existing stock value prior to importing it, but I don't know where to get the initial value.

off’s picture

Issue summary: View changes

Does commerce_stock work with commerce_feed?

off’s picture

Oh, yes.. with dev version..