Don't display taxes until final review?

  • Posts: 47
  • Thank you received: 0
13 years 1 month ago #32082

Hi, first, what is the code in the checkout workflow for one final review before the payment gets sent to Paypal (in my case)?

Next, I only charge sales tax in my own state and no other state. How can I change the display to NOT show tax until the state has been chosen?

Next question, even though I have it displaying unit price only (no tax) the final confirmation email includes tax on the unit price. Right now the details look like this (in the email):

Unit Price is showing as 26.93 (it is really 24.99)
Shipping is $8.00
Total before tax is $32.99 (correct)
Tax $1.94 (correct)
Total with tax $34.93

How do I fix it so that the unit price correctly shows as $24.99?

Last edit: 13 years 1 month ago by MahonyTech.

Please Log in or Create an account to join the conversation.

  • Posts: 83156
  • Thank you received: 13430
  • MODERATOR
13 years 1 month ago #32121

Hi,

1. I didn't understand your question.

2. Just change the default tax zone in your configuration so that it's outside the zone where taxes apply.

3. There is no option to tell the system to display the unit price without tax. you will have to edit the email via the menu System->Emails and change the line:
<?php echo $currencyHelper->format($item->order_product_price+$item->order_product_tax,$data->order_currency_id); ?>

to:
<?php echo $currencyHelper->format($item->order_product_price,$data->order_currency_id); ?>

Please Log in or Create an account to join the conversation.

  • Posts: 47
  • Thank you received: 0
13 years 1 month ago #32123

OK, on the list of emails, which one is the one that sends "Your order was created" and which one sends "Your order was confirmed"?

What I was asking in my first question is this:

Right now my flow is I see the order information, then I go to collecting information about the user, then to payment and shipping selection, then straight to PayPal. Is there a way to show another screen before going to PayPal that shows the complete order for a review by the customer before they submit the order?

Please Log in or Create an account to join the conversation.

  • Posts: 83156
  • Thank you received: 13430
  • MODERATOR
13 years 1 month ago #32158

The "order creation notification" is the one for "Your order was created"
The "order status notification" is the one for "Your order was confirmed"

You would have to add a step with the views address_cart_status_confirm before the end step. Note that you can only have the confirm step once in your workflow and only at the step before the end step.
Steps are separated by commas.

Please Log in or Create an account to join the conversation.

  • Posts: 47
  • Thank you received: 0
13 years 1 month ago #32171

nicolas wrote:

3. There is no option to tell the system to display the unit price without tax. you will have to edit the email via the menu System->Emails and change the line:
<?php echo $currencyHelper->format($item->order_product_price+$item->order_product_tax,$data->order_currency_id); ?>

to:
<?php echo $currencyHelper->format($item->order_product_price,$data->order_currency_id); ?>


Thank you, this helped alot.

I changed the PHP in the email and now the Order is Created email is exactly right, but the Order is Confirmed email has one small problem.

It is displaying the unit price correctly and it displays the total including tax correctly, but it no longer has a line for tax in it. How do I get that back? See the ATTACHED image.

Attachments:
Last edit: 13 years 1 month ago by MahonyTech. Reason: add image

Please Log in or Create an account to join the conversation.

  • Posts: 83156
  • Thank you received: 13430
  • MODERATOR
13 years 1 month ago #32233

For the total column of products, you would have to change the line:
<?php echo $currencyHelper->format($item->order_product_total_price,$data->order_currency_id); ?>
to:
<?php echo $currencyHelper->format($item->order_product_total_price_no_vat,$data->order_currency_id); ?>

in your email.

If the tax line is displaying 0, it's because you changed something... I don't know what thought...
There is no tax line by default, so I don't know the code you wrote to add it.

Please Log in or Create an account to join the conversation.

  • Posts: 47
  • Thank you received: 0
13 years 1 month ago #32522

nicolas wrote:

The "order creation notification" is the one for "Your order was created"
The "order status notification" is the one for "Your order was confirmed"

You would have to add a step with the views address_cart_status_confirm before the end step. Note that you can only have the confirm step once in your workflow and only at the step before the end step.
Steps are separated by commas.


I unpublished "order creation notification" but we still get the emails. What could be causing that?

Please Log in or Create an account to join the conversation.

  • Posts: 83156
  • Thank you received: 13430
  • MODERATOR
13 years 1 month ago #32556

I don't see how that would be possible. Are you sure ? Could you double check and then give a back end access so that we can look at it if that's really the case ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum