function goods_shortcode_output()
{
    $output = '';
    $output .= '<div class="grid"><div>' . '<div class="goods-item-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></div>' . '<div class="goods-item-content">' . '<div class="goods-item-thumb-container">';
    $output .= get_the_product_thumbnail();
    $output .= get_the_product_price();
    $gc_descr = get_post_meta(get_the_ID(), 'gc_descr', true);
    if (isset($gc_descr) && $gc_descr != '') {
        $output .= '<p class="goods-descr">' . $gc_descr . '</p>';
    }
    $output .= '</div></div></div></div>';
    return $output;
}
        post_class();
        ?>
>
                <div class="goods-item-title"><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a></div>
                <div class="goods-item-content">
                    <?php 
        // show thumbnails
        echo get_the_product_thumbnail();
        // show products
        echo get_the_product_price();
        global $catalog_option;
        if (isset($catalog_option['show_product_sku_grid'])) {
            show_the_product_sku();
        }
        if (isset($catalog_option['show_product_descr_grid'])) {
            show_the_product_desrc();
        }
        ?>
                </div>
            </article>
        </div>

        <?php 
    }
} else {