I want to display the Early Bird Discount and Volume Discount below the Multi Event Discount. I want to breakdown the discount for my customer.
On my conclusion i need to edit the shoppin_cart.php and edit the do_action(‘action_hook_espresso_shopping_cart_after_total’). The problem is i don’t where to find the do_action(‘action_hook_espresso_shopping_cart_after_total’). Can someone knows where to find that?
In brief, you would create your own function, in a plugin, or a site specific plugin, or even in the themes functions.php file and use the do_action to launch the function.
E.g. if you function is called My_Function, you would create an add_action like so:
This would then fire the My_Function function when the code gets to the do_action.
You could also copy the shopping_cart.php file over to wp-content/uploads/espresso/templates and edit the copy there to make changes to it.
The “Multi Event Discount: You Saved” is the Volume Discount saving, and you can modify the text for this in the volume Discount settings page.
The Early Bird discount is noted in the ticket line already. Getting it to show in the total area may be complicated especially as it’s possible to have multiple events listed with and without early bird pricing.
Viewing 2 reply threads
The support post ‘Display Early Bird Discount and Volume Discount in Regirstration’ 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.