Announcement

Collapse
No announcement yet.

dumb compoenent question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    dumb compoenent question

    Hi,

    I want to remove any components from the component list that are out of stock, but for the life of me I cannot see what I want!

    I have a block if wrapped around the dropdown box component so I need to do a "if component in stock" etc etc but I cannot locate a variable for that.

    thanks,
    paul.

    #2
    You could try this:

    <actinic:variable name="StockLevel" /> >= "1"
    Which, in a block if, will enable whatever the blockif wraps when the stocklevel is greater than or equal to 1.

    If your component is using associated products, you could also try:

    <actinic:variable name="AssociatedProduct::StockLevel" /> >= "1"
    You could also have a look in the AUG ;-)

    Comment

    Working...
    X