title: How to add post tags to WooCommerce products?
body: <p>I noticed that post tags are different than WooCommerce product tags. </p>
  
  <p>I need to add post tags to WooCommerce products so i can include some WooCommerce products in the post tag archives. </p>
  
  <p>Is this possible?</p>
  
  <p>I've tried these code snippets but it doesn't add them.</p>
  
  <pre><code>add_filter( 'pre_get_posts', 'add_custom_types' );
  
  function add_custom_types( $query ) {
  
    if ( is_tag() &amp;&amp; empty( $query-&gt;query_vars['suppress_filters'] ) ) {
  
      $query-&gt;set( 'post_type', array( 'post', 'products', 'product' ) );
        return $query;
      }
  }
  
  add_filter('request', 'post_type_tags_fix');
  
  function post_type_tags_fix($request) {
      if ( isset($request['tag']) &amp;&amp; !isset($request['post_type']) )
      $request['post_type'] = array( 'products', 'product' );
      return $request;
  } 
  </code></pre>