Looking at Confirmation_Display.php, I’m wanting to add the Price Modifier to each registered name – at the moment it just displays the total price without an indication as to why – how can I call this information for each registered name?
There are a couple of ways to do it, depending on your set up. Every one of them will require modifying the template via PHP, so you may require a developers assistance if you are not comfortable with PHP.
1) Use the $attendee variable to find the orig_price and final_price and find the difference (coupons will affect this!).
2) You could use the Answers Shortcode https://eventespresso.com/wiki/answers-shortcode/
There might be other ways to do it, but those sprang to mind looking at it.
By the way, the orig_price and final_price is the same number, so I assume this is changed before reaching the confirmation screen by the price modifier plugin.
It’s changed pretty much as you land on the confirmation screen. See here http://take.ms/YQSgI that’s a free event ($0.00) with a price modifier question upping the cost by $10.00.
IF the price is the same, then something perhaps hasn’t quite worked or the price modifier question wasn’t selected.
OR did you var_dump() on the registration form screen? If so then yeah nothing gets changed at that point.
Viewing 4 reply threads
The support post ‘Price Modifier Confirmation’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.