Make Block Visible Uppon Conditions Met ?

To demonstrate

If you enter products description in stock you see something like that

http://www.ebay.com/itm/Apple-iPhone-5S-GSM-Factory-Unlocked-16GB-32GB-64GB-SILVER-GRAY-GOLD-/141737204904?var=&hash=item2100321ca8:m:mM96rxoBoDIHZjHl35D45pw

If product is sold out of stock you see something like that

http://www.ebay.com/itm/iPhone-4-Verizon-FOR-PARTS-ONLY-/201487872665?hash=item2ee99cf299%3Ag%3ACroAAOSwJcZWdmC%7E&nma=true&si=eaZsITwp3x4suxr%252F%252BO9MDVUjCl4%253D&orig_cvip=true&rt=nc&_trksid=p2047675.l2557

is there an easy way to put block with promotional products on top of description and pictures only if product is sold out of stock?

You can create new wrapper for blocks (design/themes/responsive/templates/blocks/wrappers) with the following condition:

{if $product.amount < 0}
    CONTENT FROM ANY OTHER DEFAULT WRAPPER HERE
{/if}

(!) Not tested

Doesn't seem to work.

You can create new wrapper for blocks (design/themes/responsive/templates/blocks/wrappers) with the following condition:

{if $product.amount < 0}
    CONTENT FROM ANY OTHER DEFAULT WRAPPER HERE
{/if}

(!) Not tested

Do you see new wrapper in the list of available wrappers?

Did you clear the cache?

Did you apply new wrapper to the block with products?

Bringing this up again, any thoughts why this does not work?

You can create new wrapper for blocks (design/themes/responsive/templates/blocks/wrappers) with the following condition:

{if $product.amount < 0}
    CONTENT FROM ANY OTHER DEFAULT WRAPPER HERE
{/if}

(!) Not tested

Please reply to questions from post #4

Yes, named wrapper as 'hidden.tpl' and it is seen as hidden among other wrappers of block

Yes using store clear cache and cc&ctpl

Yes wrapper is applied to block that it is in layouts > products > separate grid above main content (I would use this place to put adwords or heavily advertise other products as anyways that product is sold already.

Do you see new wrapper in the list of available wrappers?

Did you clear the cache?

Did you apply new wrapper to the block with products?

OK. Do you use different inventory per options?

I do not use any inventory options, it is either 1 in stock or sold 0 that is sold out of stock.

Want to show block on product page where item is 0 in stock.

OK. Do you use different inventory per options?

Looks like I found a reason. Please try:

{if $product.amount <= 0}
    CONTENT FROM ANY OTHER DEFAULT WRAPPER HERE
{/if}

Perfect! It does work now :)

Thank U!

Looks like I found a reason. Please try:

{if $product.amount <= 0}
    CONTENT FROM ANY OTHER DEFAULT WRAPPER HERE
{/if}