How to get attribute description on shop page?

  • Author
    Posts
  • #32117
    RemcoV81

    Dear users,

    I have experienced that Category and Tag descriptions appear on specific category and tag pages, but the attribute descriptions do not appear on the attribute page?!

    I think this is because the theme doesn’t support this (see remark on attribute add page: The description is not prominent by default, however some themes may show it.)

    How do I manage to also make the attribute description visible on my website? I really need the content on these pages.
    Please let me know what css or php file need to be edited (and how :-)).

    Thanks & kind regards,
    RemcoV81

    #32147
    RemcoV81

    Anybody?

    For example on this page:

    http://vakantie-cruise.nl/cruises/vaargebied/midden-oosten/

    – I got the attriubute results on this page (check!)
    – I got the title showing on top of the page (check!)
    – But, the entered text description in WooCommerce is missing below the title…

    How do I change this? For SEO reasons I want to have text on this page.
    Thanks already for your effort!

    #32410
    Oleg

    \wp-content\plugins\woocommerce\includes\wc-template-functions.php

    /**
    * Show an archive description on taxonomy archives
    * @subpackage Archives
    */
    function woocommerce_taxonomy_archive_description() {
    if ( is_tax( array( ‘product_cat’, ‘product_tag’ ) ) && get_query_var( ‘paged’ ) == 0 ) {
    —————
    if ( is_tax() ) && get_query_var( ‘paged’ )

    #32411
    Oleg

    stopping you an accurate listing of parameters in this piece of code:

    ( is_tax( array( ‘product_cat’, ‘product_tag’ ) )

    —delete the array (current transfer)—

    ( is_tax() )

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to get attribute description on shop page?’ is closed to new replies.