Custom label output
-
I want get label of products in function that build custom template part, e.g
function my_featured() { <div class="product"> <img src="<?php echo $product_thumbnail[0];?>" alt=""> <div class="prod_title"><?php the_title();?></div> <div class="price"><?php echo $product->get_price_html(); ?></div> <div class="label"></div> </div> }
What must be in
<div class="label"></div>
to get label?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom label output’ is closed to new replies.