<commit_before>Hi{if $fields.billing_firstname} {$fields.billing_firstname} {$fields.billing_lastname}{elseif $fields.shipping_firstname} {$fields.shipping_firstname} {$fields.shipping_lastname}{/if},

This email is an order confirmation for an order placed recently on {$sitetitle}.

{if $message && $status != 'payment_pending'}
{$message}
{/if}
{if $status=='payment_pending'}

PAYMENT PENDING
===============
This order will not be completed/delivered until payment has been made.

{$OPTIONS.cart_manual_payment_instructions}

Please quote the order number "{$id}" when making any payments, so we can track your payment.
{/if}

{include file="jojo_cart_checkout_customer_email.tpl"}



Order Details
=============
Order no: {$id}
{foreach from=$items key=k item=i}
{if $i.quantity > 0}
  Name: {$i.name}
  Quantity: {$i.quantity}
  Price (each): {if $i.netprice != $i.price}{$i.netprice|string_format:"%01.2f"} (Discounted from {$i.price|string_format:"%01.2f"}){else}{$i.netprice|string_format:"%01.2f"}{/if}
  Line Total: {$i.linetotal|string_format:"%01.2f"}

{/if}
{/foreach}
Sub-total: {$order.subtotal|string_format:"%01.2f"}
{if $order.freight}
Freight: {$order.freight|string_format:"%01.2f"}
{/if}
Total: {$order.currency|default:$OPTIONS.cart_default_currency}{$order.currency_symbol|default:' '}{$order.amount|string_format:"%01.2f"}

{if $discount && $discount.code != ''}
This order used discount code: {$discount.code}
{/if}

{jojoHook hook="jojo_cart_customer_email_bottom"}
If you have any queries regarding this order, please contact us on {$OPTIONS.contactaddress|default:$OPTIONS.webmasteraddress}

Regards,
{$OPTIONS.fromname}
{$sitetitle}<commit_msg>Stop the cart customer email from listing the fromname twice if fromname happens to be the same as sitetitle.<commit_after>Hi{if $fields.billing_firstname} {$fields.billing_firstname} {$fields.billing_lastname}{elseif $fields.shipping_firstname} {$fields.shipping_firstname} {$fields.shipping_lastname}{/if},

This email is an order confirmation for an order placed recently on {$sitetitle}.

{if $message && $status != 'payment_pending'}
{$message}
{/if}
{if $status=='payment_pending'}

PAYMENT PENDING
===============
This order will not be completed/delivered until payment has been made.

{$OPTIONS.cart_manual_payment_instructions}

Please quote the order number "{$id}" when making any payments, so we can track your payment.
{/if}

{include file="jojo_cart_checkout_customer_email.tpl"}



Order Details
=============
Order no: {$id}
{foreach from=$items key=k item=i}
{if $i.quantity > 0}
  Name: {$i.name}
  Quantity: {$i.quantity}
  Price (each): {if $i.netprice != $i.price}{$i.netprice|string_format:"%01.2f"} (Discounted from {$i.price|string_format:"%01.2f"}){else}{$i.netprice|string_format:"%01.2f"}{/if}
  Line Total: {$i.linetotal|string_format:"%01.2f"}

{/if}
{/foreach}
Sub-total: {$order.subtotal|string_format:"%01.2f"}
{if $order.freight}
Freight: {$order.freight|string_format:"%01.2f"}
{/if}
Total: {$order.currency|default:$OPTIONS.cart_default_currency}{$order.currency_symbol|default:' '}{$order.amount|string_format:"%01.2f"}

{if $discount && $discount.code != ''}
This order used discount code: {$discount.code}
{/if}

{jojoHook hook="jojo_cart_customer_email_bottom"}
If you have any queries regarding this order, please contact us on {$OPTIONS.contactaddress|default:$OPTIONS.webmasteraddress}

Regards,

{$OPTIONS.fromname}
{if $sitetitle!=$OPTIONS.fromname}{$sitetitle}{/if}
{'fraction_non_alphanumeric': 0.1729776247848537, 'fraction_numerical': 0.012621916236374068, 'mean_word_length': 6.997706422018348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1995898', 'n_tokens_mistral': 1241, 'n_tokens_neox': 1201, 'n_words': 274}