Support

Home Forums Event Espresso Premium Promotion in Checkout Process – Viewing Order

Promotion in Checkout Process – Viewing Order

Posted: February 8, 2016 at 9:38 am

Viewing 18 reply threads


hojati

February 8, 2016 at 9:38 am

Hello Folks,

i have got the Pormotions Addon installed and got this view on the checkout page:

http://prntscr.com/a0mcmp

I want that the Promotion Amount is displayed as the last item before the End Price. What do i have to do for this?


Josh

  • Support Staff

February 9, 2016 at 8:35 am

You can add a bit of jQuery to the checkout page to move the location of the table row. Here’s an example of some code that can do this:

https://gist.github.com/joshfeck/e8336ad7b83630811427

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


hojati

February 11, 2016 at 9:11 am

Yes that works thank you!


Josh

  • Support Staff

February 11, 2016 at 9:23 am

You’re welcome.


hojati

February 19, 2016 at 7:30 am

I have come along with another Problem. The Discount is not calculated correctly. See this:

http://prnt.sc/a5aylv

The Result should be that the ticket is for free. Instead the tax is shown as the end price.


Tony

  • Support Staff

February 19, 2016 at 7:47 am

Hi there,

If you go Event Espresso -> Promotions -> Settings.

You’ll find the option ‘Promotions Affect Taxes’, if you set that to No and save the settings and retest applying the promotion, you’ll find it is applied after all taxes have been applied.


hojati

February 19, 2016 at 8:12 am

Yes i see. This is the option i checked.

http://prnt.sc/a5bfsq

So the error still remains. So here is how i think it should be calculated.

Price + Tax (according to the item price) – Promotion

So for the example:

21.01 + 3.99 – 25 = 0

But right now its

(Price – Promotion (None Negative)) + Tax (according to the item price)

So for the real case:

(21.01 – 25.00) + 3.99 = 0 + 3.99 = 3.99


Josh

  • Support Staff

February 19, 2016 at 12:58 pm

In that case, you’ll need to set Promotions Affect Taxes to Yes.


hojati

February 22, 2016 at 11:36 am

Well this is not correct too becaus i want that the promo Code affects the tax. And to be earnest: How could somebody ever want that the tax is applied at last like that i had it? The point is that we got a lot of calls from costumers who are upset that they have to pay for the event. So yeah for now we changed it to Yes but right know the Pormotions are worth even more becaus the tax is calculated at last. And thats not good too!


Josh

  • Support Staff

February 22, 2016 at 11:43 am

How could somebody ever want that the tax is applied at last like that i had it?

It turns out that some locales require the tax to be applied that way, so that’s why there’s an option.

I’m not seeing any issues with using that option. Might I ask if your fix to the way that tax is calculated may be affecting this?


hojati

February 22, 2016 at 12:29 pm

Yes sure you can. And of course i have validated that before posting here by reinstalling the current version of ee. It wouldn’t be nice if i blame you for something that was not your mistake 😉

So anyway. What’s your suggestion to this Problem?


Josh

  • Support Staff

February 22, 2016 at 12:50 pm

I’m not seeing this problem as you describe it when I test the current version of Event Espresso and promotions.


hojati

February 22, 2016 at 12:55 pm

Would you be so kind and show me a screenshot with my example? The german tax is 19%.


Josh

  • Support Staff

February 22, 2016 at 1:38 pm

Sure here’s video:

http://screencast.com/t/XCAdQwZwx


hojati

February 22, 2016 at 3:07 pm

Thanks. I will reevaluate this with a fresh clean wordpress install.


hojati

March 2, 2016 at 10:40 am

So it tested this with an absolutly fresh clean wordpress install. The Problem persists. So the Video

http://screencast.com/t/rE9UkseSn


Josh

  • Support Staff

March 3, 2016 at 10:10 am

You can follow the example in the inline documentation under the “Promotions affect taxes” setting to see that tells you it’s actually calculating the tax after the discount.

If set to “Yes” then all promotions will be applied before taxes are calculated,
meaning that the taxes will be applied to the discounted total.
example: $10 total – $5 discount + 10% tax = $5.50
If set to “No” then taxes will applied to transaction totals first, followed by promotions.
example: $10 total + 10% tax – $5 discount = $6.00

So it’s not actually doing a calculation like this where it’s:
119 – 19 = 100.

It’s actually:

$100 total – $19 discount = $81.00 then
$81.00 + 19% tax = $96.36


hojati

March 4, 2016 at 7:24 am

Yes i know how this works. The Point is: I want the tax to be calculated before the discount and that teh discount affects the end price. But your plugin does not do this in any case. So how could i get this way of calculation?


Josh

  • Support Staff

March 4, 2016 at 12:30 pm

Hi there,

In EE4 taxes will be always be applied last. You can use a Percent Surcharge price modifier to charge the 19% tax amount and it can be applied before the discount.

Viewing 18 reply threads

The support post ‘Promotion in Checkout Process – Viewing Order’ 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.

Event Espresso