• Resolved Watch Teller

    (@watchteller)


    Hallo Yithemes Developer,

    My suggestion was add schema for SEO to this plugin:
    1. itemprop=”brand” itemscope itemtype=”https://schema.org/Organization”;
    2. itemprop=”name”

    <?php if( ! isset( $content_to_show ) || ( $content_to_show == 'both' || $content_to_show == 'name' ) ): ?>
    		<span class="yith-wcbr-brands" itemprop="brand" itemscope itemtype="https://schema.org/Organization">
    			<?php echo $brands_label ?>
    			<span itemprop="name"><?php echo get_the_term_list( $product->id, $brands_taxonomy, $before_term_list, $term_list_sep, $after_term_list ); ?></span>
    		</span>
    	<?php endif; ?>

    Thanks in advance.

    https://www.ads-software.com/plugins/yith-woocommerce-brands-add-on/

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi again Watch Teller,

    this is a really cool feature, and I will include it in the next plugin update.

    I’ve made some test on my local installation, with google testing tool, and I did’t need to declare itemscope again (WC handles this by itself, and adding a new itemscop attribute, lead me to a second product found by google in single product page)

    Anyway, I add

    itemprop="brand"

    and it seems google correctly found brand for the product

    Thanks for your suggestion
    Stay tuned for future update

    Have a nice day ??

Viewing 1 replies (of 1 total)
  • The topic ‘Suggest: Add Schema for SEO’ is closed to new replies.