Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
I have a similar requirement, but noticed that the approach in the blog is reported to be incompatible with version 3.0.1. Any ideas on why that is the case?
I think the approach in the blog is a better general purpose solution than what you did.
I think there is a general need to provide a way for back-office event registrations to over-ride the 'public' fee structure (both for price-set and standard event fee scenarios).
Please go ahead and create an issue for this and post your patch so we can review and think about how / when to move this forward.
I'm wondering whether a 'simpler' approach of providing an 'Apply this Discount' field on the back-office event registration form would work for most scenarios including yours?
This amount would be subtracted from the price set total or selected fee level (for non-price-set events) and would show up as a line item and / or a note in some way so that it's clear why the fee was different than 'expected'.