Access vendorID from a different postID

Home Forums Calendar Products Events Calendar PRO Access vendorID from a different postID

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1114883
    Melissa M Victor
    Participant

    Hi,

    I have a rather simple question. I have a site that lists hundreds of hotels, museums, restaurants, etc. Each of those “listings” uses the wp_posts table a postID, title, description. The wp_postmeta links that postID with address, city, state, zip, geoaddress, long / lat, phone, email, working hours, social profiles, and many more specifications for that listing (location, category, accessibilities, amenities, etc). All of these listings can be searched and filtered to narrow the results.

    I have purchased the Pro calendar so that I can now add events to these listings, which are NOT community events. I do NOT anticipate having one calendar with all events. Instead I intent to have weekly calendars filtered by “venue” and/or “location”. Note: Locations in my listing are pre-defined like a category. They could be downtown, county, regional, etc

    But, rather than entering hundreds of vendors (with contact info) and ultimately maintaining two separate lists, I am wondering if I can call the post_ID from my hundreds of listings to use in the drop down vendor list when entering an event. I am not concerned with any of the vendor information specifically, in fact would only need the vendorID to be the same as my listingID.

    I’m thinking this wold be a a very simple code, in the admin post new (or edit), that calls a different post type listing instead of tribe_venue. Am I correct?

    #1115196
    Josh
    Participant

    Hey Melissa,

    Thanks for reaching out to us!

    You can create this connection using a plugin such as the Posts 2 Posts plugin. This will allow you to create the necessary connection of your existing locations to events. You could then use that meta for creating the event lists on your individual location pages.

    Let me know if this helps.

    Thanks!

    #1120719
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Access vendorID from a different postID’ is closed to new replies.