Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Total pricing field is missing from the Edit Entry layout #2230

Open
rafaehlers opened this issue Dec 4, 2024 · 5 comments
Open

The Total pricing field is missing from the Edit Entry layout #2230

rafaehlers opened this issue Dec 4, 2024 · 5 comments
Assignees

Comments

@rafaehlers
Copy link
Contributor

Here's my form:

image

Here's my Edit Entry layout. Notice how the Total field is missing:

image

The field does show up if no fields were added to the Edit Entry layout:

image

The field also shows if adding its Merge Tag inside a Custom Content field.

Video: https://www.loom.com/share/1c5dd06da43e4bcba21a7eaa77d231bd

Tested on GV 2.32 and GF 2.9

@rafaehlers
Copy link
Contributor Author

@omarkasem
Copy link
Collaborator

@rafaehlers It's done on purpose and here's the explanation, Should we change that and maybe add a notice to the user that he has to include all fields or keep it like that?
image

@rafaehlers
Copy link
Contributor Author

@omarkasem Thanks for clarifying it!

@zackkatz any tips on how to proceed here? 🤔 This one is tricky!

@zackkatz
Copy link
Member

zackkatz commented Jan 8, 2025

@omarkasem Right. Now that I've had (looks at calendar) 10 years to think about this: could we use AJAX to update it, sending the field data for fields that are shown and returning new value?

@omarkasem
Copy link
Collaborator

@zackkatz I tried that but what if there are more than 1 product field, which one we will choose to get final values from? Or we get from all products fields?
I don't think it makes sense to do it that way as why would the client only have a total field on it's own in the edit page? He can't edit it.
I think the best thing to do is to let him know that he has to choose at least 1 product field so the total can work, Add a tooltip warning in the dashboard when he adds a total field to the edit layout and also add one in frontend on top of total field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants