Support » Plugins and Hacks » Related by Tag doesn't work

Related by Tag doesn't work

  • Hi there..
    I’ve modified some in the “wpec-related-product.php” to match the Tag.

    // tag in array
            foreach ($product_tag as $tag_item) {
    		if ((strpos($product_tag,'-Match') !== false))
                	$tag_array_name_list[] = $tag_item->slug;

    I have the Product Tag like P1-Match, P1-Match, P2-Match and so on… So every related product shows 2 related items in it. Actually after I modified the code and it works great in the localsite. However if I copy the files to the actually hosting and it doesn’t seems to work at all.

    Any idea what is going on? Please help.


  • The topic ‘Related by Tag doesn't work’ is closed to new replies.