Hi Jamal!
Thank you for your fast and prompt answer... Most of your explanation is understandable and I will try to create like that.
But, what can be a problem...
I don't see a point that some other user creates an "Auction" for someone other "product/service". Auction table (custom post) should be created by admin or by a user who created a "product/service" post (one-click predefined custom post) at some moment when he wants...
Auctions aren't other offers, offers are bids of customers/users and it can have one filed for the amount and few automatics pulled fields (date/time, user ID, etc) inside one Auction, so every product/service can have just one auction, what is a table with all given bids (offers).
In this case, it should be another custom post type with a dynamic content template and/or a Relationships View in the product/service post.
I'll try to explain what bothers me, in this example.
- Some user will submit their product/service via the frontend form (custom post type "service or product" , so the content template is already created for it), the post goes on "pending" status, and wait for approval by Admin...
Example: User creates "Sell Printer ip550" custom post via frontend form.
- Administrator will check that pending user-submitted post and make approval for it, and Admin will create a new (add new) "Auction" custom post (custom post type "Auction" is already created with custom fields, and the content template for it) .
Example: Admin creates "Auction sell printer ip550" custom post (post with a table where all users offer will be presented)
- Admin will mark relationship (already created relationship "One to One" between custom posts "Service or product" - "Auction") in the edited custom post before change status to" published".
Admin can put just a link to created Auction post in some line inside service/product post, but I think it is good to have a short dynamic table already inside of the "Service or product" custom post, created with Toolset View or Relationship View with a link to open a full page of that auction custom post (with a big table, comments, image, etc.).
So far so good. 😉
But how to create a frontend Form that will be input for user offers (bid amounts) ? Offers aren't new custom posts, just new field data...
I thought that such a custom field (bids) can be already created in "Auctions" and with some Edit form (just with one field for amount) on the frontend, various users will give their money offers.
Likely we need some kind of "Fields frontend form" (just for fields, not to create an entirely new post), so that is a reason why I want to use 'Edit form'.
Another problem is how to sort those offers in the auction table from various users where all offers should be visible.
So I have two custom posts, one content template (product or service), triple relationships (one to one to many= product or service-auction-users), relationships Toolset view (for table), and optionally content template for full-page auction (with comments, images, etc.)
Ok. I hope that my idea is more clarified...
Thanks in advance
Sinisa
P.S.
There is no good auction plugin, all of them are related to WooCommerce or eBay, so If Toolest can manage it, will be good.
I need generic, for now without connection to the payment gateway, maybe later will come to need that.--