Viewing inventory level on the product page in new NG Themed store.

206 views
Skip to first unread message

Chad Pinkman

unread,
Jan 23, 2020, 2:28:52 PM1/23/20
to XMPie Interest Group
Is there a way to get the inventory levels to show up on the product page in the NG themed storefront. The legacy stores have it on them which is very convenient for many of my customers. I am attaching a screen shot of a storefront that I have running that shows the inventory levels on the product and a screen shot of a newer NG themed store that does not as examples.

Thanks for your help.

Chad Pinkman
Aradius Group
new NG themed store screen shot.png
legacy store screen shot.png

couch

unread,
Jan 23, 2020, 6:31:53 PM1/23/20
to XMPie Interest Group
Currently, the inventory data is not supplied to the  uStore NG theme, so the value is not available to display.
However, I have some good news for you. v12.1 uStore will have this. 
OOTB it is not displayed on the product thumbnail - it is shown on the finalize step where you select the order quantity of the inventory item. 
That said, since the data is available in the v12.1 theme, you should be able to modify a theme with react to add the value to the product thumbnail description...

Chad Pinkman

unread,
Jan 24, 2020, 4:30:41 PM1/24/20
to XMPie Interest Group
Thanks for the information.

Naomi Radford

unread,
May 18, 2020, 3:39:10 PM5/18/20
to XMPie Interest Group
What about inventory in the NG kit items? We have version 12.2 and have told the products to show inventory on the storefront, but it is not visible in the kit. Is there another step to take for it to show?

snir rotem

unread,
May 18, 2020, 5:08:13 PM5/18/20
to XMPie Interest Group
Hi Naomi,

Kit products have no Inventory of their own, since they are comprised of multiple components.
having said that, each component's inventory is accessible in the kit product page (or via an API), so you can calculate the kit's inventory according to that.

Doug Reigelsperger

unread,
Jan 4, 2022, 3:59:00 PM1/4/22
to XMPie Interest Group
Hey Couch,
Doug Again, 
SO we would imports the inventory.js component into the category.js is that correct???

couch

unread,
Jan 4, 2022, 7:49:13 PM1/4/22
to XMPie Interest Group
Hi Doug,

When you refer to this tutorial you will see how to access uStore data:
The video shows how to use the redux browser plugin to see the name/value of the data available in "state". For example, here you can see the inventory data available on the category page:
devtools.jpg
The video shows how to get the name from state and display on the page. The same technique can be used to get the inventory amount and display on the category page.
Reply all
Reply to author
Forward
0 new messages