Answer the question
In order to leave comments, you need to log in
How to display a list of tags in a product card in woocommerce?
Good afternoon! Tell me, please, I got a site, shoveled, none of the standard outputs of various information works. For example, in a product card, the code looks like this:
<div class="productinfo">
<h1><?php the_title();?></h1>
<span class="articulproduct">Артикул <?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">В корзину</a>
</div>
Answer the question
In order to leave comments, you need to log in
For example, in a product card, the code looks like this:
The problem is that the labels are not displayed either. I tried to add a different code found on the Internet between the Article and the Price. Either the site crashes with a 500 error, or nothing changes.
I added the code to functions.php and inserted the shortcode in the same place. Doesn't work either.
Apparently you are not a developer, so it is so hard for you. But you are absolutely not digging there. I advise you to contact a WooCommerce specialist, he will solve this problem quickly and efficiently. Teaching you on Toaster how to work with the WooCommerce platform, the basics of OOP is not an option.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question