New CTP is not linking to another CTP

This topic contains 18 replies, has 4 voices, and was last updated by  Paolo 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #491180

    Nyi Win
    Free User
    Post count: 111

    Hi..

    I have a list of restuarants as CTP.

    Now I am making a “Promo” list where I can assign to each restaurant, (ie, link to it).

    I created the promo, but I am having the following issues

    1) when I go to view promo, it doesnt show..
    2) the option to link to a restaurant, even when I updated in the settings, it is not showin when I click on Add promos..

    please advise..

    thanks

    #491195

    Alex Rollin
    Moderator
    Post count: 27815

    Did you choose to display the field using “Show in extra locations”
    https://wpgeodirectory.com/docs-v2/places/custom/

    Did you include the link field in a price package?

    #491196

    Nyi Win
    Free User
    Post count: 111

    Hi

    My promos are as a new list of CTP rather than a custom field of restaurants..

    So that way I can just list promos in a certain location..

    But each promo needs to be linked to a restaurant..

    IE( doctors in a Medicare centre, where doctors are like my promos).

    I hope that helps in explaining

    #491451

    Alex Rollin
    Moderator
    Post count: 27815
    #491458

    Nyi Win
    Free User
    Post count: 111
    This reply has been marked as private.
    #491612

    Paolo
    Site Admin
    Post count: 31206

    You have that field excluded in the price package.
    Remove it and it’ll appear.
    Thanks

    #491678

    Nyi Win
    Free User
    Post count: 111
    This reply has been marked as private.
    #491713

    Paolo
    Site Admin
    Post count: 31206

    Developers will check your settings and let us know what the problem was after the weekend.
    Thanks

    #491732

    Alex Rollin
    Moderator
    Post count: 27815

    Please switch your maps api or fix your google api so maps work.
    Once you do that you should be able to link promos to businesses.
    You have this setup properly is seems
    https://bfl.cloudaccess.host/wp-admin/edit.php?post_type=gd_gd_business&page=gd_gd_business-settings&tab=cpt-tabs

    Let us know if this works for you
    https://wpgeodirectory.com/docs-v2/integrations/google/#tutorial

    Or change the API to OSM
    GD – Settings – General – SHow advanced – Maps API – OpenSTreetmap

    #491765

    Nyi Win
    Free User
    Post count: 111

    Hi Alex.. Paolo..

    Google map is working fine, and I can see the map, as well as I can find the locations.

    It is not an issue with the Google Map API, as I can find both with OSM as well as Google MAP.

    the issue is with the CTP not linking to another CTP.

    I have set the CTP of the promos with the location, I have set the CTP of the Restaurant with the location..

    I have setup the Promo CTP to link to the Business.. and it has been linked. (BUT when I go and view the Promo details.. the CTP link is empty)..

    it is NOT storing my link.. how can I fix it..

    Thanks

    #491891

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #491932

    Nyi Win
    Free User
    Post count: 111
    This reply has been marked as private.
    #491968

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #492003

    Nyi Win
    Free User
    Post count: 111
    This reply has been marked as private.
    #492016

    Kiran
    Moderator
    Post count: 7069

    Hi Nyi,

    This has been fixed on your staging site. It will be in next release of Custom Post Types plugin.

    If you want to fix on your live site then just copy/paste following file from staging site to live site via FTP.
    WORDPRESS_ROOT\wp-content\plugins\geodir_custom_posts\includes\class-geodir-cp-link-posts.php

    Let us know.

    Kiran

Viewing 15 posts - 1 through 15 (of 19 total)

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

Open Support Ticket