• I have a custom post type of items for which I run a query on the page for users to see these items (I use ACF for custom fields).

    What I require is a method for my users to be able to select different items on the query page and kind of add them to a list to then submit a claim for them.

    What is the best way to achieve this?

    Should I create a ‘Claim’ CPT for which these items get added to? If so, how would I make it so that when an item is selected it adds to a post object field in a claim cpt?

    • This topic was modified 3 years, 2 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I think you can create a Claim CPT which will be populate thanks to a form in front end.
    When the for is submitted, create a post on Claim CPT.
    I know you can do that with Advanced Custom Fields (Pro?) and Gravity Forms (Premium plugins) at least. You should check in the plugin repo if other form plugin can help you.

    Regards

    • This reply was modified 3 years, 2 months ago by Sébastien SERRE. Reason: fix typo
    Thread Starter aabri

    (@aabri)

    @sebastienserre thanks yes that is correct and if I make the claims CPT with the relationship field relating to my ‘items’ this works but I would like to present the items differently to what ACF does. I.e. I have the post query and would like to add them to the form from that WP query as it allows me to display the items from the post I prefer. I suppose I can do that with some custom JS or jQuery so I add the ID to the form.

    Thread Starter aabri

    (@aabri)

    I effectively need a basket where you can add the items and then create a claims post with all of the items from the basket.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best approach for a claims process’ is closed to new replies.