{* шаблон корзины покупателя *} {if $product_removed eq 1}
{$smarty.const.STRING_PRODUCT_REMOVED}
{else}
{if $cart_content} {if $cart_amount<$smarty.const.CONF_MINIMAL_ORDER_AMOUNT}
{$smarty.const.CART_TOO_SMALL_ORDER_AMOUNT} {$cart_min}
{/if} {counter name=product_count start=1 skip=1 print=false}
  • {$smarty.const.CART_PHOTO}
  • {$smarty.const.TABLE_PRODUCT_NAME}
  • {if $smarty.const.CONF_DISPLAY_PRCODE eq 1}
  • {$smarty.const.STRING_PRODUCT_CODE}
  • {/if} {if $smarty.const.CONF_MULTYCART}
  • {$smarty.const.ADMIN_NOTEF2}
  • {/if}
  • {$smarty.const.TABLE_PRODUCT_COST}, {$currency_name}
{section loop=$cart_content name=i} {counter name=product_count print=false}
  • {if $cart_content[i].picture} {else} {/if}
  • {$cart_content[i].name}
  • {if $smarty.const.CONF_DISPLAY_PRCODE eq 1}
  • {$cart_content[i].product_code}
  • {/if} {if $smarty.const.CONF_MULTYCART}
  • {if $session_items}
    {else}
    {/if} {if $cart_content[i].min_order_amount} {$smarty.const.STRING_MIN_ORDER_AMOUNT} {$cart_content[i].min_order_amount} {$smarty.const.STRING_ITEM} {/if}
  • {/if}
  • {$cart_content[i].cost}
  • {if $session_items} {else} {/if}
{/section}
{if $discount_prompt != 0} {counter name=product_count print=false} {if $discount_prompt == 1 && $discount_percent != 0}
  • {$smarty.const.STRING_DISCOUNT} {$discount_percent}%
  • {$discount_value}
{/if} {if $discount_prompt == 2} {counter name=product_count print=false}
{$smarty.const.STRING_UNREGISTERED_CUSTOMER_DISCOUNT_PROMPT}
{/if} {if $discount_prompt == 3 && $discount_percent != 0} {counter name=product_count print=false}
  • {$smarty.const.STRING_DISCOUNT} {$discount_percent}%
  • {$discount_value}
  • {$smarty.const.STRING_UNREGISTERED_CUSTOMER_DISCOUNT_PROMPT}
{/if} {/if}
  • {$smarty.const.TABLE_TOTAL}
  • {$cart_total}
{$smarty.const.STRING_CONTACT_INFORMATION_DOWN_CASE}
{assign var="reg_types" value=""|GetRegTypes} {if $reg_types} {if $log ne ""} {assign var="customer_reg_type" value=$log|getCustomerRegType} {/if} {if $log ne "" && $customer_reg_type} {assign var="current_reg_type" value=$customer_reg_type} {else}
    {section name=u loop=$reg_types}
  • {/section}
{assign var="current_reg_type" value=$reg_types[0].reg_typeID} {/if} {else} {/if} {if $smarty.const.CONF_FIO_FIELD_CART ne 0}
{/if} {if $smarty.const.CONF_EMAIL_FIELD_CART ne 0}
{/if} {if $countries}
{else}
{/if} {if $smarty.const.CONF_ADDRESSFORM_STATE_CART ne 0}
{if !$zones} {else} {/if}
{else}
{/if} {if $smarty.const.CONF_ADDRESSFORM_CITY_CART ne 0}
{else}
{/if} {section name=i loop=$additional_fields} {if $additional_fields[i].reg_field_cart ne 0}
{if $additional_fields[i].reg_field_mask eq "file"} {else} {/if}
{/if} {/section} {if $smarty.const.CONF_ORDER_COMMENT_FIELD_CART ne 0}
{/if}
{*if $smarty.const.CONF_ADDRESSFORM_ADDRESS_CART ne 0}
{else}
{/if*}
{$smarty.const.STRING_ORDER_SHIPPING}
{*if $shipping_methods} {section name=i loop=$shipping_methods} {if $shipping_costs[i] ne "n/a"} {counter item=_CostsNum array=$shipping_costs[i] print=false}
{$shipping_methods[i].description}
{if $shipping_methods[i].shipping_costs[0].name}{$shipping_methods[i].shipping_costs[0].name}
{/if} {if !empty($shipping_methods[i].shipping_costs[0].rate)}{$shipping_methods[i].shipping_costs[0].rate}{else}бесплатно{/if}
{/if} {/section} {else}
{$smarty.const.STRING_NO_SHIPPING_METHODS_TO_SELECT}
{/if*} {$ShippingSelector}
{$smarty.const.STRING_ORDER_PAYMENT}
{*if $payment_methods} {section name=i loop=i loop=$payment_methods}
{$payment_methods[i].description}
{/section}
{else}
{$smarty.const.STRING_NO_PAYMENT_METHODS_TO_SELECT}
{/if*} {$PaymentSelector}
{else}
{$smarty.const.CART_EMPTY}
{/if}
{/if} {literal} {/literal} {literal} {/literal}