From b134e188956e6c9979e07504d96f23ed798e1e10 Mon Sep 17 00:00:00 2001 From: Repellent Date: Mon, 17 Oct 2016 18:24:44 +0300 Subject: [PATCH] Upload new file --- basket/templates/mail_text.tpl | 159 +++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 basket/templates/mail_text.tpl diff --git a/basket/templates/mail_text.tpl b/basket/templates/mail_text.tpl new file mode 100644 index 0000000..33f6703 --- /dev/null +++ b/basket/templates/mail_text.tpl @@ -0,0 +1,159 @@ + + + +{#BASKET_SHOP_NAME#} +{literal} + +{/literal} + +{oBasket->getBasket assign='basket'} + + + + + +
+ + + + + +
{#BASKET_SHOP_NAME#}
{#BASKET_SHOP_ADDRESS#}
+ +
+

{#BASKET_ORDER_TITLE#}

+
+ {#BASKET_ORDER_HEAD#} +

+ + + + + + + + + + + + + + + + + + + + + + +{foreach name=product from=$basket.products item=product} + + + + + + + + + +{/foreach} + + + + + +
{#BASKET_PRODUCT_NAME#}{#BASKET_PRODUCT_SIZE#}{#BASKET_PRODUCT_ARTICLE#}{#BASKET_PRODUCT_QUANTITY#}{#BASKET_PRODUCT_PRICE#}{#BASKET_PRODUCT_AMOUNT#}
{$smarty.foreach.product.iteration}{$product->name|truncate:100|escape}{$product->size}{$product->article}{$product->quantity}{#BASKET_UNIT#}{$product->price|string_format:"%.2f"}{#BASKET_CURRENCY#}{$product->amount|string_format:"%.2f"}{#BASKET_CURRENCY#}
{#BASKET_ORDER_TOTAL#} {$basket.total_send|string_format:"%.2f"}{#BASKET_CURRENCY#}
+
+ + + + + + + + + + + + + + +
Вид доставкиСтоимость доставки
{$delivery_method_titel}{if $delivery_method_operands|escape == '%'}{$delivery_method_price}%{elseif $delivery_method_operands|escape == 'Money'}{if $delivery_method_price|escape == 0 || $delivery_method_price=='0.00'}Бесплатно{else}{num_format val=$delivery_method_price|string_format:"%.2f"} руб.{/if}{elseif $delivery_method_operands|escape == 'Text'}{$delivery_method_price|escape}{/if}
+ + + + + + + + + + + + + + +
Вид оплатыСтоимость
{$payment_method_titel}{if $payment_method_operands|escape == '%'}{$payment_method_price}%{elseif $payment_method_operands|escape == 'Money'}{if $payment_method_price|escape == 0 || $payment_method_price=='0.00'}Бесплатно{else}{num_format val=$payment_method_price|string_format:"%.2f"} руб.{/if}{elseif $payment_method_operands|escape == 'Text'}{$payment_method_price|escape}{/if}
+ +
+ + + + +
{#BASKET_ORDER_TOTAL#} - {$basket.total|string_format:"%.2f"}{#BASKET_CURRENCY#}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 {#BASKET_CUSTOMER_INFO#}
{#BASKET_CUSTOMER_NAME#}{$customer.name|escape}
{#BASKET_CUSTOMER_EMAIL#}{$customer.email}
{#BASKET_CUSTOMER_PHONE#}{$customer.phone|escape}
{#BASKET_CUSTOMER_ADDRESS#}{textformat wrap_char='
'}{$customer.address|truncate:1000|escape}{/textformat}
{#BASKET_CUSTOMER_DESCRIPTION#}{textformat wrap_char='
'}{$customer.description|truncate:1000|escape}{/textformat}
 
{#BASKET_ORDER_DATE#}{$smarty.now|date_format:"%d.%m.%Y, %H:%M"}
+ +
+ {#BASKET_ORDER_INFO#}
+
+ {#BASKET_SHOP_NAME#}
+ {#BASKET_SHOP_ADDRESS#} +
+ + + \ No newline at end of file