Skip Navigation

[Resolved] How to Edit Custom Field for Post Relationship?

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by nedG 5 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1186819
weekly-special-field.jpg

I am building a Restaurant Site....

I have the following CPTs.
1) Menu Items
2) Weekly Special Lists

Normally the Menu Items would simply be listed via a View on a page called Main Menu and they would be listed according to their normal taxonomies (Appetizer, Entree, Dessert, et...)

I can do this just fine. No issues.

However, my clients wants to create a WEEKLY SPECIALS section.

These Weekly Specials will essentially be a list of normal Menu Items... however they will differ in that they will be specifically assigned as children of a particular Weekly Special List (or several different lists).

So... normally each Menu Item has a normal Price (I created a custom field for the Menu Items called "Simple Price")

However, when a Menu Item is assigned as a Weekly Special, I want to show the "Weekly Special Price".

So here is what I did....

I created a Many-to-Many relationship between Weekly Special Lists and Menu Items.

This way, the Restaurant Owner can create a Weekly Special List and add as many Menu Items to it as he wants (as children)

While creating the relationship, I created a relationship custom field called "Weekly Special Price".

Everything seems to be working as expected. However, when I visit a particular Weekly Special List and scroll down and view the children Menu Items, how can I edit the "Weekly Special Price" from the relationship box area? Sometimes I will need to Edit this Price. In my particular case, I added the Menu Items into the relationship without any Weekly Special Price and now I need to add the price. I don't see how to do it. I have checked the documentation.

See my attached screenshot.

#1187285
After click

You can insert values for the Intermediary Post when you connect or create a new connected post.
Or, once that is done, you can simply click "Quick Edit" under the related post row and there, manipulate the fields.
Note that intermediary Fields are possible only on Many To Many relationships.

#1187402

Thank you. I have no idea how I missed that. I know that I could add the intermediary field value wen I connect the post(s).. but I was unable to find out how to "edit" the intermediary field afterward.

I thought taht I had already tried the Quick Edit... but didn't see it I see it now. Strange.

I can't believe I missed that.

Thanks