Related listings not working correctly: use primary category

This topic contains 4 replies, has 2 voices, and was last updated by  Marc 6 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #460296

    Marc
    Expired Member
    Post count: 274

    Related listings not working correctly: It should show other listings that are in the same category. But what if a listing is in more than 1 category? Then the related listings should be filtered according to the PRIMARY (main) category of a listing

    Here I have 2 listings that are in 2 categories and both have the same primary category “Küchenabdeckungen”. But in detail view the related listings show other listings from the other parent category “Küchen”.
    https://www.offerten24.ch/projekte/kategorie/kuechenabdeckungen/

    https://www.offerten24.ch/projekte/aargau/murgenthal/kuechenabdeckungen/robuste-kuechenabdeckung-aus-glas/

    And here there are no related listings at all. Why?
    https://www.offerten24.ch/projekte/bern/seeberg/kuechenabdeckungen/swissculinaria-glasloesung-fuer-die-kueche/

    “Küchen” is the Parent category of “Kücheneinrichtungen”. But “Kücheneinrichtungen” is the primary category of these 2 listings, so they should be related to each other.

    Please use PRIMARY category for showing related listings, not any category of a listing.

    My shortcode:

    [gd_listings title=”Other Projects” post_type=”gd_project” event_type=”all” related_to=”category” sort_by=”latest” title_tag=”h3″ layout=”gridview_onehalf” post_limit=”4″ hide_if_empty=”1″ category=”0″]

    #460352

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc,

    We could add a filter option of “main_category” only, is that what you mean?

    Stiofan

    #460395

    Marc
    Expired Member
    Post count: 274
    This reply has been marked as private.
    #460475

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This has been implemented and will be in the next release.

    Thanks,

    Stiofan

    #460477

    Marc
    Expired Member
    Post count: 274
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount