Home Page › Forums › WP Related Items › Do not display products if is not set on manual relations › Reply To: Do not display products if is not set on manual relations
I think I misunderstand your letter previously.
If I understand well, you would like to display the followings:
– post->product (only manual relationships)
– post->post (all kind of relationships)
So on post (article) pages you would like to display only the manually related products, and other automatically or manually related articles.
It is right?
If so, then the solution is the following:
You can use threshold settings to achieve this goal.
In “General” tab of “WP Related Items (WRI) Settings” page you can find a “WRI Manual Relationships Weight” field. The default value is very high (100 points), it means that if you set related items manually, then the similarity value will be 100. This default value is right for your, please do not change this.
In case of default setting each other (automatic) relationships worth 1..3 points. (So it is less than the points of manual relationship)
You can set similarity thresholds individually for each page and inside of it for each related item types.
Please go to “Post page” tab on “WP Related Items (WRI) Settings” page, and set “Match threshold” value to 90 in the “Products” line, and set it to a low value (~1 – 3) in the “Posts” line.
This means that on Post pages only those related product will be displayed, whose similarity is larger than 90, and those posts, whose similarity is larger than 1 or 3.
Only manual relationships can get greater than 90 points so this settings ensures that only manually related products will be displayed, but in case of related posts it is possible to display automatically and manually related posts.
I hope this solution is right for you.