From 3c3d9ba3857b2e2fb1790708db478ad3725264e0 Mon Sep 17 00:00:00 2001 From: Repellent Date: Mon, 17 Oct 2016 18:25:23 +0300 Subject: [PATCH] Upload new file --- basket/templates/order_show.tpl | 213 ++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 basket/templates/order_show.tpl diff --git a/basket/templates/order_show.tpl b/basket/templates/order_show.tpl new file mode 100644 index 0000000..3155780 --- /dev/null +++ b/basket/templates/order_show.tpl @@ -0,0 +1,213 @@ +{oBasket->getBasket assign='basket'} + +{if $basket.products} +
+ + + + + + + + + + +
1{#BASKET_PROGRESSBAR_STEP1#}2{#BASKET_PROGRESSBAR_STEP2#}3{#BASKET_PROGRESSBAR_STEP3#}
+ +

{#BASKET_ORDER_SHOW_TIP#}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + {foreach from=$basket.products item=product} + + + + + + + + + + {/foreach} + +
{#BASKET_PRODUCT_DELETE#}{#BASKET_PRODUCT_NAME#}{#BASKET_PRODUCT_SIZE#}{#BASKET_PRODUCT_ARTICLE#}{#BASKET_PRODUCT_QUANTITY#}{#BASKET_PRODUCT_PRICE#}{#BASKET_PRODUCT_AMOUNT#}
{$product->name|escape}{$product->size|escape}{$product->article|escape}{$product->price|string_format:"%.2f"}{$product->amount|string_format:"%.2f"}
+ +

+ + + + + + + + + + + + + + +{foreach from=$basket.delivery item=delivery} + + + + + + +{/foreach} + +
Пожалуйста, выберите желаемый вид доставки
 Вид доставкиСтоимость доставкиОписание
id|escape==$smarty.session.delivery_id}checked{/if}>{$delivery->delivery_title|escape} + + {if $delivery->delivery_price_operands|escape == '%'}{$delivery->delivery_price}% + + {elseif $delivery->delivery_price_operands|escape == 'Money'} + + {if $delivery->delivery_price|escape == 0 || $delivery->delivery_price=='0.00'}Бесплатно{else}{num_format val=$delivery->delivery_price|string_format:"%.2f"} руб.{/if} + + {elseif $delivery->delivery_price_operands|escape == 'Text'}{$delivery->delivery_price|escape}{/if} + + Подробнее
+ +{if $smarty.session.delivery_id} +

+ + + + + + + + + + + + + +{foreach from=$basket.payment item=payment} + + + + + + +{/foreach} + +
Выбор метода платежа
 Метод оплатыСтоимостьОписание
id|escape==$smarty.session.payment_id}checked{/if}>{$payment->payment_title|escape} + + {if $payment->payment_price_operands|escape == '%'}{$payment->payment_price}% + + {elseif $payment->payment_price_operands|escape == 'Money'} + + {if $payment->payment_price|escape == 0 || $payment->payment_price=='0.00'}Бесплатно{else}{num_format val=$payment->payment_price|string_format:"%.2f"} руб.{/if} + + {elseif $payment->payment_price_operands|escape == 'Text'}{$payment->payment_price|escape}{/if} + + Подробнее
+{/if} + +

+ + + + + + + + + + + + + + +
Итого
+ {$basket.total|string_format:"%.2f"} +
+ +

+ +

+ +{if $smarty.session.delivery_id && $smarty.session.payment_id} +{#BASKET_NEXT#} +{/if} + +
+ +{literal} + +{/literal} + +
+{else} +

{#BASKET_EMPTY#}

+{/if} \ No newline at end of file