{wa_js file="js/order/order.min.js"} {$wa_url}wa-content/js/jquery-plugins/jquery-tooltip/jquery.tooltip.patched.min.js {$wa_app_static_url}js/order/timepicker/jquery.timepicker.min.js {$wa_app_static_url}js/tmpl.min.js {$wa_app_static_url}js/lazy.load.js {$wa_app_static_url}js/orders.js {$wa_app_static_url}js/order/list.js {$wa_app_static_url}js/order/edit.js {$wa_app_static_url}js/form/customer/backend.js {$wa_app_static_url}js/order/form/customer.js {/wa_js} {if 0 && empty($embedded_version)}

[`Get instant updates on your mobile device`]

[`Mobile app will help you to conveniently track sales, process orders, and manage products right on your iOS or Android-powered smartphone.`]
×
{/if} {if empty($embedded_version)} {/if} {if empty($embedded_version)}
[`Loading`]
{/if} {capture name="template-order-product-img"} {literal} {% if(o.url){ %}{% } else { %}{% } %} {/literal} {/capture} {capture name="template-order"} {literal} {% var options = o.options || {}; %} {% var product = o.data.product; %} {% var sku_ids = o.data.sku_ids; %} {% var index = options.index || '0'; %} {% var sku_count = $.shop.helper.size(product.skus); %} {% var chosen_sku_id = product.sku_id; %} {% var currency = options.currency; %} {% var stocks = o.options.stocks || {}; %} {% var stock_unit = o.data.stock_unit; %} {% var active_sku = product.skus[product.sku_id]; %} {% include('template-order-product-img', { url: product.url_crop_small }); %} {%=product.name%} {%#product.price_html%} {% if (sku_count == 1) { %} {% if (product.compare_price && product.compare_price > 0) { %} ({%=Number(Math.round((product.compare_price)*100)/100) %} {%#currency%}) {% } %} {% } %} {% if (sku_count == 1) { %} {%#product.icon%} {% } else { %} {%#product.icon%} {% } %}

{% if (sku_count > 1) { %}

{% } else { %} {% var sku = product.skus[product.sku_id]; %} {% if ( sku && !sku.fake && (typeof sku.sku === 'string' && sku.sku.length > 0) ) { %} {%=sku.sku%} {% } %}
{% include('template-order-stocks-add', { sku: product.skus[product.sku_id], stocks: stocks, index: index }); %}
{% } %}

{% if (!$.isEmptyObject(product.services)) { %}

{% include('template-order-services-add', { services: product.services, service_ids: o.data.service_ids, options: options }); %}

{% } %}
× {% if (stock_unit) { %} {%#stock_unit["name_short"]%} {% } %}
{% if (product["show_order_counts"]) { %} {% } %}
{% if (!options.price_edit) { %} {%#product.skus[chosen_sku_id].price_html%} {% } else { %} {%#currency%} {% } %}
{/literal} {/capture} {capture name="template-order-stocks-edit"} {literal} {% var sku = o.sku; %} {% var stocks = o.stocks; %} {% var item_id = o.item_id; %} {% if (sku && !$.isEmptyObject(sku.stock)) { %} {% } else { %} {% } %} {/literal} {/capture} {capture name="template-order-stocks-add"} {literal} {% var sku = o.sku; %} {% var stocks = o.stocks; %} {% var index = o.index; %} {% if (sku && !$.isEmptyObject(sku.stock)) { %} {% } else { %} {% } %} {/literal} {/capture} {capture name="template-order-services-add"} {literal} {/literal} {/capture} {capture name="template-order-services-edit"} {literal} {/literal} {/capture} {* js templates block*} {foreach $smarty.capture as $template => $template_content} {if $template_content && (strpos($template, 'template-')===0)} {capture name=$template}{/capture} {/if} {/foreach} {if empty($embedded_version)} {/if}