-
Hello friends.
I hope you are well.How can I put the brand name on the product card. I attach an image. You gave me a code, but it doesn’t work for the single product… The code you gave me was:
add_action(‘dh_woocommerce_before_loop_product_title’, function(){
global $product;
if(taxonomy_exists(‘product_brand’) && ($product_brands = get_the_terms( $product->get_id(), ‘product_brand’ ))){
echo get_the_term_list( $product->get_id(), ‘product_brand’, ‘‘, ‘, ‘, ‘‘ );
}
});* How to put the gray background on the images that have white background. I attach an example. In this page the product picture is on white background ( if you download it ), but you see it with gray background.
I would appreciate your help.
Greetings.