Good day! Tell me, please, went to website, re-fabricated is not one of the standard insights of different information. For example, in the product code looks like this:
<span class="articulproduct">article <?php echo $product->get_sku(); ?></span>
<span class="productprice"><?php echo $product->get_price_html(); ?></span>
<a rel="nofollow" href="<?php echo $product->add_to_cart_url(); ?>" data-quantity="1" data-product_id="<?php echo $product->get_id(); ?>" data-product_sku="<?php echo $product->get_sku(); ?>" class="addtocart">To cart</a>
Background: I need to display on the item card, the type of sentence: "out of stock", "custom", etc. there is Nothing more intelligent than to do it through a label, I figured it out. Tried their fields to add, but nothing appears still.
The problem is that the label is also not displayed. I tried between the Article and the Price to add the code that you found in the Internet. Either the website crashes with a 500 error or nothing changes.
Added to functions.php code and inserted the shortcode in the same place. Is also not working.
Now I do not know how I in the right place to put these labels?