A relatively new feature in Magento 2 is stock sources, where inventory can be held at multiple locations, like this:

Magento 2 product stock source editor

Our client wants to store the location of the product within each store (aisle and shelf). Is it possible to extend the source functionality to achieve this?

  • Im sure adding in two additional fields wouldn't be a big task initially you would need to extend dynamic field js and alter stock functionality to include the dependencies but im sure it wouldn't take too long – Dava Gordon Aug 22 '19 at 21:45
  • 1
    did you find any solution for this queries – Deeban Babu Jan 13 at 9:51
  • @DeebanBabu I haven't yet. Instead I used an attribute on the product with a JSON-encoded object that has the key as the machine name of the source. Far from ideal, but it works for my purposes. – Geat Jan 14 at 0:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.