Jump to content

Sales Tax not showing in Emails or Packing Slip


Dirty Butter

Recommended Posts

The total price is correct, but there's no indication of the Sales Tax amount showing on the packing slip or on the emails to Admin or the customer. The plain text version of the emails has code in it that the html version does not have, so I'm guessing something needs tweeking there:

{$DATA.first_name} {$DATA.last_name} {if !empty({$BILLING.company_name})}({$BILLING.company_name}){/if} just placed order number {$DATA.cart_order_id} on {$DATA.order_date}.



This order can be managed online by following the link below.



{$DATA.link}

Billing address:

{$BILLING.first_name} {$BILLING.last_name}

{if !empty({$BILLING.company_name})}{$BILLING.company_name}

{/if} {$BILLING.line1}

{if !empty({$BILLING.line2})}{$BILLING.line2}

{/if} {$BILLING.town}

{$BILLING.state}

{$BILLING.postcode}

{$BILLING.country}

{$BILLING.phone}



Email:

{$BILLING.email}	Shipping address:

{$SHIPPING.first_name} {$SHIPPING.last_name}

{if !empty({$SHIPPING.company_name})}{$SHIPPING.company_name}

{/if}{$SHIPPING.line1}

{if !empty({$SHIPPING.line2})}{$SHIPPING.line2}

{/if}{$SHIPPING.town}

{$SHIPPING.state}

{$SHIPPING.postcode}

{$SHIPPING.country}



{foreach from=$PRODUCTS item=product} {/foreach} {foreach from=$TAXES item=tax} {/foreach}

Item	Quantity	Cost

{$product.name}	{$product.quantity}	{$product.price}

	Shipping: ({$DATA.ship_method})	{$DATA.shipping}

	Discount:	{$DATA.discount}

	Subtotal:	{$DATA.subtotal}

	{$tax.tax_name}: ({$tax.tax_percent}%)	{$tax.tax_amount}

	Order Total: 	{$DATA.total}



This is what shows on the email:

Item Quantity Cost

University of FLORIDA Plush Mascot ALBERT Mint 1 $8.00

Shipping: () $5.25

Discount: $0.00

Subtotal: $8.00

: (%)

Order Total: $13.97

Can someone help me with this??

Link to comment
Share on other sites

  • 1 month later...

I was wrong about the packing slip - Sales Tax shows there. But it does NOT show on the emails. Would someone who is not having this problem please post what they have in the HTML version of the Order Confirmation template so I can see what I've messed up?

I've played around with this so much I have the emails all messed up. I did get the idea to copy from the UK version back to my messed up USA version, but it still doesn't work right.

I've thought all along that my problems have something to do with this warning below each email template in Admin:

IMPORTANT: Macros must be retained in the email content for it to be populated with suitable data. Dynamic regions or repeat regions must also be retained (e.g. {foreach from=$products item=item}Dynamic data or repeat data{/foreach}).

Using the default email template I don't get the name of the item or the Sales Tax in the emails. The packing slip works just fine.

Could someone PLEASE put a copy of your properly working order confirmation HTML email code here for me to see?

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...