Do not display products if is not set on manual relations

Home Page Forums WP Related Items Do not display products if is not set on manual relations

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

    Posts

  • #1223

    George

    Participant

    Hello,

    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?

    #1224

    WebshopLogic

    Keymaster

    Hi,

    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.

    Regards,
    Peter Rath
    WebshopLogic

    #1225

    WebshopLogic

    Keymaster

    Hi,

    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.

    Regards,
    Peter Rath
    WebshopLogic

    #1226

    George

    Participant

    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.

    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.