Posted: November 9, 2016 at 11:29 am
|
No. Your statement is not correct. I am saying the calculation for the tax on a voucher sale is wrong. If a promo/voucher code: |
|
No. Your statement is not correct. I am saying the calculation for the tax on a voucher sale is wrong. If a promo/voucher code: |
|
Sorry. I copied and modified content from my client. I am simply looking for direction. I will contract someone to do the custom coding unless you have a solution to solve both scenarios below: At regular retail : qty x base price $72.95 + 10.95 surcharge= subtotal x 13% tax = qty * ($10.91 per person + (72.95 +10.95)) |
I’m afraid it’s not clear what the actual problem is you’re looking to solve from the above scenario. If it’s a case where the total isn’t calculating out to what they expect, may I ask what’s the total they are expecting? Have you tried changing the setting in the Promotions > Settings page that changes how Promotions Affect Taxes? |
|
|
Need to find which PHP file(s) to modify for custom calculation using discount code. When promotion code is selected and it is flat rate (i.e. $42.00). There are other promotion code values. The idea is to use the promotion code flat rate value in a way to do a totally different calculation to gather the taxes and surcharge NOT paid by a dealsite such as GROUPON and to apply the voucher from the dealsite to the event the guest wants. Equation / Values: With promotion code = equation in words: ([(voucher + port fee surcharge)x quantity] x tax) + port fee surcharge (($42 flat voucher + 10.95 surcharge) x 13% tax) x qty) + 10.95 surcharge = $6.88 + 10.95 = $17.83 Again, I simply need to know which files need to be modified. |
Hi there, Whilst we are more than happy to point you in the right direction if we can (for example if there is a hook available that will allow you to make the changes you need) we do no provide support for customizations to the core code and so can not provide a list of files you need to alter to make your changes. If you are a developer (or working with one) you could open up a thread here: https://github.com/eventespresso/event-espresso-core/issues With further information and one of the developers may be able to provide more information, however note the developers will likely also not list a bunch of filenames your need to modify but could help point you in the right direction more than we can here. If there is a location that a hook would be useful we are more than happy to create a ticket to have that included, or if you add one yourself you could open up a pulll request to have it included within core. |
|
The support post ‘Need to find which PHP file to modify for custom calculation using discount code’ 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.