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

dev/core#4103 Don't show admin only price fields on Registration or Contribution page previews #26103

Conversation

larssandergreen
Copy link
Contributor

Overview

When not logged in, Event Registration or Contribution page previews should not show (part of) admin-only price fields — they should show a preview of what people using the page will see. See issue for steps to replicate.

Before

There is an admin-only price field here that has its amount shown when previewing the Registration or Contribution page when not logged in.
image

After

Now the price field is not shown.
image

Price field is still shown normally to logged-in users and in the price set preview.

@civibot
Copy link

civibot bot commented Apr 22, 2023

No issue was found matching the number given in the pull request title. Please check the issue number.

@civibot
Copy link

civibot bot commented Apr 22, 2023

(Standard links)

@civibot civibot bot added the master label Apr 22, 2023
@demeritcowboy
Copy link
Contributor

jenkins retest this please

@demeritcowboy demeritcowboy merged commit bc8888c into civicrm:master May 5, 2023
@larssandergreen larssandergreen deleted the don't-show-admin-only-price-fields-on-event-preview branch May 24, 2023 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants