{* $Id: order_info.tpl,v 1.15.2.8 2004/12/10 11:08:42 max Exp $ *} {if $order.discount > 0} {/if} {if $order.coupon_discount > 0} {if $order.coupon_type ne "free_ship"} {/if} {/if} {if $order.discounted_subtotal ne $order.subtotal} {/if} {if $order.coupon_discount > 0} {if $order.coupon and $order.coupon_type eq "free_ship"} {assign var="shipping_cost" value=$order.coupon_discount} {/if} {/if} {if $order.coupon and $order.coupon_type eq "free_ship"} {/if} {if $order.applied_taxes and $order.extra.tax_info.display_taxed_order_totals ne "Y"} {foreach key=tax_name item=tax from=$order.applied_taxes} {/foreach} {/if} {if $order.giftcert_discount gt 0} {/if} {if $order.applied_taxes and $order.extra.tax_info.display_taxed_order_totals eq "Y"} {foreach key=tax_name item=tax from=$order.applied_taxes} {/foreach} {/if} {section name=rn loop=$order.reg_numbers} {if %rn.first%} {/if} {/section} {if $order.applied_giftcerts} {section name=gc loop=$order.applied_giftcerts} {/section} {/if} {if $order.extra.special_bonuses ne ""} {include file="modules/Special_Offers/order_bonuses.tpl" bonuses=$order.extra.special_bonuses} {/if} {section name=prod_num loop=$products} {if $products[prod_num].deleted eq "" and ($active_modules.Product_Configurator eq "" or $products[prod_num].extra_data.pconf.parent eq "")} {if $active_modules.Product_Configurator ne "" and $products[prod_num].extra_data.pconf.cartid ne ""} {/if} {*if $usertype ne "C"} {/if*} {if $order.extra.tax_info.display_cart_products_tax_rates eq "Y" and ($products[prod_num].product_type ne "C" or $products[prod_num].display_price gt 0)} {/if} {if $products[prod_num].amount> 1} {assign var="qtystyle_beg" value="
"} {assign var="qtystyle_end" value="
 items"} {else} {assign var="qtystyle_beg" value=""} {assign var="qtystyle_end" value=" item"} {/if} {if $products[prod_num].product_options ne "" && $active_modules.Product_Options ne ''} {/if} {if $active_modules.Egoods and $products[prod_num].download_key and ($order.status eq "P" or $order.status eq "C")} {/if} {if $active_modules.RMA} {include file="modules/RMA/item_returns.tpl" product=$products[prod_num]} {/if} {/if} {if $active_modules.Product_Configurator ne "" and $products[prod_num].extra_data.pconf.cartid ne ""} {include file="modules/Product_Configurator/pconf_order_info.tpl" cartid=$products[prod_num].extra_data.pconf.cartid} {/if} {/section} {section name=giftcert loop=$giftcerts} {if $giftcerts[giftcert].deleted eq ""} {if $giftcerts[giftcert].send_via eq "P"} {else} {/if} {/if} {/section} {if $customer.default_fields.firstname or $customer.default_fields.lastname} {/if} {if $customer.default_fields.company} {/if} {foreach from=$customer.additional_fields item=v} {if $v.section eq 'P'} {/if} {/foreach} {if $customer.default_fields.firstname or $customer.default_fields.lastname} {/if} {if $customer.default_fields.b_address} {/if} {if $customer.default_fields.b_city or $customer.default_fields.b_state or $customer.default_fields.b_zipcode} {/if} {if $customer.default_fields.b_country} {/if} {foreach from=$customer.additional_fields item=v} {if $v.section eq 'B'} {/if} {/foreach} {if $customer.default_fields.firstname or $customer.default_fields.lastname} {/if} {if $customer.default_fields.s_address} {/if} {if $customer.default_fields.s_city or $customer.default_fields.s_state or $customer.default_fields.s_zipcode} {/if} {if $customer.default_fields.s_country} {/if} {foreach from=$customer.additional_fields item=v} {if $v.section eq 'S'} {/if} {/foreach} {if $customer.default_fields.phone} {/if} {if $customer.default_fields.fax} {/if} {if $customer.default_fields.url} {/if} {if $customer.default_fields.email} {/if} {foreach from=$customer.additional_fields item=v} {if $v.section eq 'C'} {/if} {/foreach} {assign var="is_header" value=""} {foreach from=$customer.additional_fields item=v} {if $v.section eq 'A'} {if $is_header ne 'Y'} {assign var="is_header" value="Y"} {/if} {/if} {/foreach}
{$lng.lbl_order_info}
   
{$lng.lbl_delivery} {*$order.shipping|trademark*}{include file="mail/html/shipping_conditionals.tpl"}
{$lng.lbl_payment_method} {$order.payment_method}
{$lng.lbl_subtotal} {include file="currency.tpl" value=$order.display_subtotal}
{$lng.lbl_discount} {include file="currency.tpl" value=$order.discount}
{$lng.lbl_coupon_saving} {include file="currency.tpl" value=$order.coupon_discount} ({$order.coupon})
{$lng.lbl_discounted_subtotal} {include file="currency.tpl" value=$order.display_discounted_subtotal}
{$lng.lbl_shipping_cost} {include file="currency.tpl" value=$order.display_shipping_cost}
{$lng.lbl_coupon_saving} {include file="currency.tpl" value=$order.coupon_discount} ({$order.coupon})
{$tax.tax_display_name} {include file="currency.tpl" value=$tax.tax_cost}
{$lng.lbl_giftcert_discount} {include file="currency.tpl" value=$order.giftcert_discount}
{$lng.lbl_total|upper} {include file="currency.tpl" value=$order.total}
{$lng.lbl_including_tax|substitute:"tax":$tax.tax_display_name} {include file="currency.tpl" value=$tax.tax_cost}
{$lng.lbl_registration_number}:
  {$order.reg_numbers[rn]}
   
{$lng.lbl_applied_giftcerts}:
  {$order.applied_giftcerts[gc].giftcert_id}: {include file="currency.tpl" value=$order.applied_giftcerts[gc].giftcert_cost}
 
{$lng.lbl_products_info}
   
{$products[prod_num].product} #{$products[prod_num].productid}
/ {$lng.lbl_pconf_composite_product} /
   
{$lng.lbl_sku} {$products[prod_num].productcode|default:"-"}
{$lng.lbl_provider} {$products[prod_num].provider}
{$lng.lbl_price} {include file="currency.tpl" value=$products[prod_num].display_price}
   {$lng.lbl_including} {foreach from=$products[prod_num].extra_data.taxes key=tax_name item=tax} {if $tax.tax_value gt 0} {if $cart.product_tax_name eq ""}{$tax.tax_display_name}:{/if} {if $tax.rate_type eq "%"}{$tax.rate_value}%{else}{include file="currency.tpl" value=$tax.rate_value}{/if}
{/if} {/foreach}
{$lng.lbl_quantity} {$qtystyle_beg}{$products[prod_num].amount}{$qtystyle_end}
{$lng.lbl_selected_options} {include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options options_txt=$products[prod_num].product_options_txt force_product_options_txt=$products[prod_num].force_product_options_txt}
{$lng.lbl_download_link}:
{$catalogs.customer}/download.php?id={$products[prod_num].download_key}
{$lng.lbl_download_link_expires}: {$products[prod_num].expires|date_format:$config.Appearance.datetime_format}
   
{$lng.lbl_gift_certificate}
   
{$lng.lbl_gc_id} {$giftcerts[giftcert].gcid}
{$lng.lbl_amount} {include file="currency.tpl" value=$giftcerts[giftcert].amount}
{$lng.lbl_recipient} {$giftcerts[giftcert].recipient}
{$lng.lbl_gc_send_via_postal_mail}
{$lng.lbl_mail_address} {$giftcerts[giftcert].recipient_firstname} {$giftcerts[giftcert].recipient_lastname}
{$giftcerts[giftcert].recipient_address} {$giftcerts[giftcert].recipient_address_2}, {$giftcerts[giftcert].recipient_city},
{$giftcerts[giftcert].recipient_state} {$giftcerts[giftcert].recipient_country}, {$giftcerts[giftcert].recipient_zipcode}
{$lng.lbl_phone} {$giftcerts[giftcert].recipient_phone}
{$lng.lbl_recipient_email} {$giftcerts[giftcert].recipient_email}
   
{$lng.lbl_customer_info}  
   
{$lng.lbl_personal_information}:
{if $customer.default_fields.firstname} {$customer.firstname} {/if} {if $customer.default_fields.lastname} {$customer.lastname} {/if}
{$customer.company}
{$v.title}: {$v.value}

{$lng.lbl_billing_address}:
{if $customer.default_fields.firstname} {$customer.b_firstname} {/if} {if $customer.default_fields.lastname} {$customer.b_lastname} {/if}
{$customer.b_address} {if $customer.default_fields.b_address_2}   {$customer.b_address_2} {/if}
{if $customer.default_fields.b_city}{$customer.b_city}{/if}{if $customer.default_fields.b_state}, {$customer.b_statename} {/if} {if $customer.default_fields.b_zipcode} {$customer.b_zipcode} {/if}
{$customer.b_countryname}
{$v.title}: {$v.value}

{$lng.lbl_shipping_address}:
{if $customer.default_fields.firstname} {$customer.s_firstname} {/if} {if $customer.default_fields.lastname} {$customer.s_lastname} {/if}
{$customer.s_address} {if $customer.default_fields.s_address_2}   {$customer.s_address_2} {/if}
{if $customer.default_fields.s_city}{$customer.s_city}{/if}{if $customer.default_fields.s_state}, {$customer.s_statename} {/if} {if $customer.default_fields.s_zipcode} {$customer.s_zipcode} {/if}
{$customer.s_countryname}
{$v.title}: {$v.value}

{$lng.lbl_contact_information}:
  {$lng.lbl_phone} {$customer.phone}
  {$lng.lbl_fax} {$customer.fax}
  {$lng.lbl_web_site} {$customer.url}
  {$lng.lbl_email} {$customer.email}
  {$v.title} {$v.value}
{$lng.lbl_additional_information}:
  {$v.title} {$v.value}