{if $add} {assign var=title value="Add Product/Subscription"} {else} {assign var=title value="Edit Product/Subscription"} {/if} {include file="admin/header.inc.html"} {include file="admin/js.inc.html"}

{$title}

  {if $error}
{foreach from=$error item=e}
  • {$e} {/foreach}
  • {/if}
    {foreach from=$product_additional_fields item=f} {if $f.type eq 'select'} {assign var=field_name value=$f.name} {elseif $f.type eq 'multi_select'} {assign var=field_name value=$f.name} {elseif $f.type eq 'textarea'} {assign var=field_name value=$f.name} {elseif $f.type eq 'checkbox'} {assign var=field_name value=$f.name} {elseif $f.type eq 'period'} {assign var=field_name value=$f.name} {elseif $f.type eq "header"} {elseif $f.type eq 'hidden'} {else} {assign var=field_name value=$f.name} {/if} {/foreach}
    Product # {$p.product_id}
    Title *
    Will be displayed to user
    Description *
    Will be displayed to user
    on signup page below the title
    Subscription Terms
    Price *
    Enter only digits (and period, if necessary).
    Do not enter commas ',' or dollar sign '$'
    {$f.title}
    {$f.description}
    {$f.title}
    {$f.description}
    {$f.title}
    {$f.description}
    {$f.title}
    {$f.description}
    {$f.title}
    {$f.description}
    {if $field_name eq "expire_days"} {else} {/if}
    {$f.title}
    {$f.title}
    {$f.description}
    {if $f.name eq 'terms'}
    Default: {$p.terms_default|escape}
    (will be automatically updated according to change of product settings)
    {/if}

                                   

    {if !$config.demo} {/if} {if !$config.demo} {/if}
    E-Mail Settings
    Use Customized Signup E-Mail
    use special e-mail message for this product
    This will override any signup e-mail entered in
    aMemberCP -> Setup/Configuration -> E-Mail
    {if !$p.product_id} Please save new product first, then click Edit to change this option {else} Edit E-Mail Template / Delete {/if}
    Expire Notifications
    send email to user when his subscription expires
    email will not be sent for products with recurring billing
    0 - send message in the day of expiration
    -1 - send message one day after expiration
    2 - send message 2 days before expiration
    there can be comma-separated list of values




    {if !$p.product_id} Please save new product first, then click Edit to change this option {elseif !$config.demo} {$mail_expire_field} {/if}
    Send Automatic Emails
    user can receive automatic emails
    after signup. You can setup series of emails
    to be sent.
    0 - message will be sent immediately after purchase
    2 - message will be sent 2 days after purchase
    {if !$p.product_id} Please save new product first, then click Edit to change this option {else} {$mail_autoresponder_field} {/if}
    "Not-Completed Payment" Notification
    number of days when above notification must be send.
    1 means 1 day after payment
    2 means 2 days after payment
    {if !$p.product_id} Please save new product first, then click Edit to change this option {else} {$mail_not_completed_field} {/if}

                                   
    {if defined('INCREMENTAL_CONTENT_PLUGIN')}{include file="../plugins/protect/incremental_content/product.html"}{/if}
    {include file="admin/footer.inc.html"}