0

I am trying to display sales tax in the order confirmation email but it does not appear to be available. Can I add my own variables that I want to make available in the email? If so, how and where would I do that?

thanks!

Update specifics

ah, well.. I thought that this was the support forum for the actual module but wasn't paying attention that it only said ExpressionEngine and not the actual module.

Anyway EE v2.4.0 - Build: date 20120123 and it is the Store module by Exp-resso 1.5.3

  • Hi and welcome Kelvin, can you let us know what EE addon you're using? – Tom Davies Dec 5 '12 at 16:58
  • More details are needed. What add-on are you using? What version of EE and what version of that addon? – CreateSean Dec 5 '12 at 17:07
  • Kevin - I'm guessing you came here from the Exp:resso Store support page? This site is a Q&A site for ExpressionEngine development generally, which includes all add-ons. So if your question is about a specific add-on, you need to be clear about that. – Derek Hogue Dec 5 '12 at 20:23
  • Clearly we need to improve our communication on that page. Will review it today :) – Adrian Macneil Dec 5 '12 at 22:08
1

As people have said in the comments you should as as much information as possible about your setup so that we can provide accurate results.

Exp:resso Store If you are using Exp:resso Store there are a few options you can use. To display item specific sales tax you would want to use item_tax tag inside of the items loop

{items}
 Item Tax = {item_tax}
{/items}

If you want to display the tax for the entire order there are a couple tags you can use as mentioned in the docs

{order_subtotal_tax} = All the tax that is applicable to the orders subtotal
{order_shipping_tax} = The tax that is applicable to the shipping cost
{order_tax} = All the tax applicable to the entire order (includes subtotal and shipping)

You can also display the tax information such as name and rate with the followingL

{tax_name} = Value for the tax rate based upon your settings in the CP
{tax_rate} = Value like "0.10"
{tax_percentage} = Value like "10%"

CartThrob If you are using CartThrob you would need to add the custom fields that you assigned to store tax, subtotal plus tax, shipping plus tax fields depending on what you want.

BrilliantRetail If you are using BrilliantRetail you would want to use something like this I haven't used BR in a really long time so I am not 100% sure of their tag structure but looking through the included templates should help.

| improve this answer | |
  • Hey great answer. I have updated my question. I just assumed the tags specified in the admin were the only tags available. Thanks again. – styks Dec 5 '12 at 20:55
  • The ones in the admin are just a few of the tags available you can use most Store tags without a problem. Glad that you got it sorted out now. – Justin Long Dec 5 '12 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.