Blacksheep adlı üyeden alıntı


add_action( 'woocommerce_after_subcategory_title', 'custom_add_product_description', 12);
function custom_add_product_description ($category) {
$cat_id = $category->term_id;
$prod_term = get_term($cat_id,'product_cat');
$description= $prod_term->description;

echo '
'.$description.'
';
}



Bu kodu function.php dosyasına ekle eğer önbelleğin varsa sil ve test et olmaz ise başka bir yol buluruz


Maaesef dostum bu kod çözüm üretmedi. sanırım burada rastladın sen https://support.stylemixthemes.com/forums/topic/show-woocommerce-category-description-under-category-title bende denedim onu. şuan çözüm yok.


şurada https://stackoverflow.com/questions/19249756/how-to-display-woocommerce-category-description biraz birşeyler bahsetmişler ama buradaki anlatımlardan pek birşey anlayamadım. woocommerce eklentisinin içerisinde content-product_cat.php diye bir dosya var. acaba buna bi kod ekleyerek çalıştırabilir miyiz?