Online only listings

This topic contains 9 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #433410

    joel phillips
    Expired Member
    Post count: 82

    Still having issues with Online Only listings. I created a CPT per your recommendation but now the directory is bifurcating and I am not able to implement category cpt’s properly which means no category/subcategory/sub-subcategory hierarchy.

    When I create the Online Only cpt, then I also have to duplicate my categories which means to update / add one category in gd_place, I have to do the same in the online_only cpt. When I link it this way, I am also not able to create child cpt’s that roll up. Is it possible to “link” the Online CPT (disables physical location) and then add cpt’s underneath while linking the online only cpt to each so physical location is disabled when a listing is “Online Only”?

    I am way behind on this project and want to make sure I get the hierarchy right, but so far have not had much luck implementing a solution that will work. This will be across many categories and subcategories. If you had sub-subcategories, I could use that approach, but since you do not, I will have to use cpt’s.

    Thanks for the help.

    #433433

    Alex Rollin
    Moderator
    Post count: 27815

    Linking CPTs is possible, take a look here: https://wpgeodirectory.com/docs/linking-custom-post-types/

    When you say “subcategories” do you mean something different from the way that each category can have a parent category?

    #433443

    joel phillips
    Expired Member
    Post count: 82

    Is there any other documentation other than just the link provided?

    If I can link Places and the Online Only CPT to utilize the same category pool and then have category/sub-category available, then I may be alright.

    What I am trying to do: Cohabitate my listings with physical location and those that are online only, while not having to duplicate category pools (maintenance nightmare) and while having a full category / sub-category relationship to list businesses then products / services in places and in Online Only.

    What would be better would be if I can list each category as a cpt for maximum flexibility and then have category and subcategory under each CPT with its own unique schema, but because I can only use Places and Online Only, my preferred method of building this is not available.

    Please let me know if there is a better way to accomplish this.

    Thanks

    #433445

    Alex Rollin
    Moderator
    Post count: 27815

    Is there any other documentation other than just the link provided?

    Not specificaly about linking CPTs, no, but there are many forum topics and we are happy to answer questions. If you need concierge service and hands on support to set it up you can contact a GD Expert here: https://geodirectoryexperts.com
    Or read more topics: https://wpgeodirectory.com/support/search/?bbp_search=link+cpt

    If I can link Places and the Online Only CPT to utilize the same category pool and then have category/sub-category available, then I may be alright.

    Each CPT has a unique set of categories, and are not linked to categories for other CPTs.

    What I am trying to do: Cohabitate my listings with physical location and those that are online only, while not having to duplicate category pools (maintenance nightmare) and while having a full category / sub-category relationship to list businesses then products / services in places and in Online Only.

    Can you share the site URL, so we can see what type of listings you are working with? Maybe that will help us understand the case better.
    Have you considered using one or more custom fields to denote the online presence? For example, what if you used only one CPT, but then added custom fields like:
    Online Outlet 1 Website (Link field)
    Online Outlet 1 Description (Textarea field)
    Online Outlet 2 Website (Link field)
    Online Outlet 2 Description (Textarea field)

    What would be better would be if I can list each category as a cpt for maximum flexibility and then have category and subcategory under each CPT with its own unique schema, but because I can only use Places and Online Only, my preferred method of building this is not available.

    If it possible to hide fields for different categories, so, adding 100 custom fields, but only allowing 34 fields and category A for price page 1, 46 fields and Category B for price package 2 etc.

    #433462

    joel phillips
    Expired Member
    Post count: 82

    If I can link Places and the Online Only CPT to utilize the same category pool and then have category/sub-category available, then I may be alright.

    Each CPT has a unique set of categories, and are not linked to categories for other CPTs.

    >>> And cannot be linked to categories for other cpt’s?
    ———————————-
    What I am trying to do: Cohabitate my listings with physical location and those that are online only, while not having to duplicate category pools (maintenance nightmare) and while having a full category / sub-category relationship to list businesses then products / services in places and in Online Only.

    Can you share the site URL, so we can see what type of listings you are working with? Maybe that will help us understand the case better.
    Have you considered using one or more custom fields to denote the online presence? For example, what if you used only one CPT, but then added custom fields like

    >>> I can do it this way but am surprised that you guys have not incorporated a field (feature) to disable physical location requirement for any specific listing based on a boolean for any checkbox value “Online Only” or some such. If you recall the original request, I asked if I could create a checkbox “Online Only” and, if true, disable physical location input fields. Now it sounds as if you are saying that is possible by creating a custom field?

    I am happy to provide the url privately, but it is a new site and not really any listings other than dummy listings so far.
    ————————————–

    What would be better would be if I can list each category as a cpt for maximum flexibility and then have category and subcategory under each CPT with its own unique schema, but because I can only use Places and Online Only, my preferred method of building this is not available.

    If it possible to hide fields for different categories, so, adding 100 custom fields, but only allowing 34 fields and category A for price page 1, 46 fields and Category B for price package 2 etc.

    >>> That is good to know but I don’t think it helps in this situation. I will explore.

    Truly appreciate your assistance Alex.

    #433491

    Alex Rollin
    Moderator
    Post count: 27815

    And cannot be linked to categories for other cpt’s?

    Correct

    Now it sounds as if you are saying that is possible by creating a custom field?

    No, it is still not possible to disable address on a per listing basis.

    Looking forward to checking out the site!

    #433591

    joel phillips
    Expired Member
    Post count: 82
    This reply has been marked as private.
    #433616

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #439085

    Graham
    Buyer
    Post count: 39

    Did you resolve this? I have a very similar situation.

    #439152

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Graham, there are no hidden solutions in this topic.

    Feel free to make your own and we will do our best to answer your questions 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

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

Open Support Ticket