variant.next_incoming ... quantity?

Excursionist
17 0 14

https://help.shopify.com/en/themes/liquid/objects/variant only offers:

  • variant.incoming = Returns true if the variant has incoming inventory.
  • variant.next_incoming_date = Returns the date when the next incoming inventory will arrive.

...is there a way to fetch the value from the total 'Incoming' column that you see in /admin/products/inventory?

 

Screenshot 2019-11-08 at 17.51.08.png

 

Admittedly that '3' Incoming is the sum of two different Transfers, but I could add 1 + 2 if I needed to :)

 

As per @Jason's advice here I had a look at {{ product | json }} but it's not in there.

 

I suppose that's because "Product itself does not have this information, only variants have these properties" as per this post.

 

I don't see any mention in https://www.shopify.co.uk/partners/shopify-cheat-sheet of hooks into the 'Transfers' table.

 

Thanks!

0 Likes