products on stock

sspindsspind Member Posts: 13
edited April 2019 in Theme and Design

Sorry, Im quite new to lightspeed template so questions arise.

Shop has a stocklevel and I try to add in products.rain for the products overview page /snippets/products.rain:

{% if not product.stock.available %}

not available

  {% endif %}

which shows always "not available"

I also tried

{% if not product.stock.on_stock %}


  {% endif %}

which didnt work, too

So I dont know what do do. There are definitely products on stock.

A workaround would be to work over a product filter which has the title

mystock and values (stock, not on stock) in different languages.

I please for some this forum I found a similar question from February which is unanswered.

Post edited by sspind on


Sign In or Register to comment.