{* SKELETON PAGE *}
{include "./ServicesSkeleton.html" inline}
{* PAGE *}

{$service.name|escape}

{if $service.id} [`Delete this service`] {/if}
[`Service price`]
{$multi_variants = false} {if count($variants) > 1 || (count($variants) == 1 && !empty($variants[0]['name']))} {$multi_variants = true} {/if} {foreach $variants as $variant} {/foreach}
+
[`Multiple options`]
[`Add option`]

[`When ordered with a particular product, service increases product base price by the amount provided. Service price can be set in bulk for all products, or customized for every individual product or SKU.`]

{*
[`Efficiency`]

[`+%s (+%f%) to the overall sales during the last 30 days`]

*} {if !empty($types)}
[`Offer this service with following products:`]
    {foreach $types as $type}
  • {$type.count}
  • {/foreach}
  • {foreach $products as $product} {if $product.edit_rights} {$edit_rights = 'services'} {else} {$edit_rights ='prices'} {/if} {/foreach} {capture "template-services-new-product"}{literal} {/literal}{/capture}
    {$product.name|escape}
    {%=o.product.name%}
≈ {_w('%d product', '%d products', $products_count)}
{/if}
[`Taxable`]
{$wa->csrf()}