11/10/2014 at 11:55Participant
i use this module to display both related products and related posts on my posts.
I want a post to have related products, only if i manual set them but at the same time i want the same article to have related posts even if i dont set them manualy.
Is this possible?11/10/2014 at 12:35Keymaster
In the background of WP Related Items plugin YARPP ensures the similarity finding functionality. In this environment only bidirectional relationships can be handled, so if two items are related, then it is true in both direction.
Manual relationship handling is part of this functionality, thus manual relationship is also bidirectional.
Due to the above, unfortunately it is not possible what you would like.
If you have more questions, please do not hesitate to contact us.
WebshopLogic11/10/2014 at 13:35Keymaster
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.
WebshopLogic11/10/2014 at 14:11Participant
Hello and thanks for the prompt reply.
Applying your suggested settings worked exactly as i wanted to.
Thank you very much for your help and your excellent description on how things work with this plugin.
- You must be logged in to reply to this topic.