cancel
Showing results for 
Search instead for 
Did you mean: 

How can i add "out of stock" to recently reviewed products

How can i add "out of stock" to recently reviewed products

Hello, 

 

I've been updating the recently viewed products widget to make it match the other related products etc sliders in my theme, and i've brought the following files to adjust the layout:

 

app/design/frontend/<my theme>/Magento_Catalog/web/template/product/list/listing.html

app/design/frontend/<my theme>/Magento_Catalog/web/template/product/price/regular_price.html

app/design/frontend/<my theme>/Magento_Catalog/web/template/product/price/special_price.html

I now need to somehow bring in the stock status so i can display "out of stock" like the other product sliders do, but i've no idea how to do this in Knockout. Version is EE 2.3

Hopefully someone can point me in the right direction.