<?php setup_postdata($post); ?>

        <figure class="product-wrap thumbnail">
<!--
                <span class="label label-info product-state">Rebajado</span>
                <span class="label label-warning product-state">Out of stock</span>
-->
            <a href="<?php the_permalink(); ?>">
                <?php if ( has_post_thumbnail() ) { ?>
                    <?php the_post_thumbnail( 'store-product-custom-thumbnail', array('class' => 'img-responsive') ); ?>
                <?php } ?>
            </a>
            <figcaption class="caption">
                <h3 class="title">
                    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                    <span class="product-price"><?php the_fik_previous_price(); ?><?php the_fik_price(); ?></span>
                </h3>
                <?php echo get_the_tag_list( '<p class="tags"><span>', '</span>, <span>', '</span></p>') ?>
            </figcaption>
        </figure>

<?php setup_postdata($post); ?>

        <figure class="product-wrap thumbnail">
        <?php if ( fik_product_stock_quantity() == 0) { ?>
                <span class="label label-warning product-state">Out of stock</span>
        <?php } ?>
<!--                <span class="label label-info product-state">Rebajado</span>-->
-->
            <a href="<?php the_permalink(); ?>">
                <?php if ( has_post_thumbnail() ) { ?>
                    <?php the_post_thumbnail( 'store-product-custom-thumbnail', array('class' => 'img-responsive') ); ?>
                <?php } ?>
            </a>
            <figcaption class="caption">
                <h3 class="title">
                    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                    <span class="product-price"><?php the_fik_previous_price(); ?><?php the_fik_price(); ?></span>
                </h3>
                <?php echo get_the_tag_list( '<p class="tags"><span>', '</span>, <span>', '</span></p>') ?>
            </figcaption>
        </figure>

Add out of stock label
Add out of stock label
