• Resolved nagrom33

    (@nagrom33)


    Hi There,

    Is it possible to check on the archive-product.php file which vendor Archive you visit?
    Cause i want to put below the product a story about the specific vendor store.

    I hope someone can help me!
    Thanks-a-lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nagrom33

    (@nagrom33)

    Founded!

    <?php if(is_tax(‘yith_shop_vendor’)){ ?

    // Vendor archive
    $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) );
    <h1><?php echo $term->name;?></h1>

    <?php }?>

    Plugin Author YITHEMES

    (@yithemes)

    Hi @nagrom33,

    yes, the snippet of code that you write in previous reply is correct!
    You can use it without problem.
    Have a nice day and good works.

    YITH

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Archive each vendor’ is closed to new replies.