<?php
/*
 * @author     M2E Pro Developers Team
 * @copyright  M2E LTD
 * @license    Commercial use is forbidden
 */

// @codingStandardsIgnoreFile

/** @var $this Ess_M2ePro_Block_Adminhtml_Amazon_Listing_Template_ProductType_Main */

?>

<div id="templateDescription_pop_up_content">
    <div style="padding: 5px 0;">

        <?php if(count($this->getMessages()) > 0) : ?>
            <div id="templateDescription_error_block">
                <?php echo $this->getWarnings(); ?>
            </div>
        <?php endif; ?>

        <?php if (!$this->isNewAsin()) { ?>
            <div id="block_notice_amazon_description_policy_popup_help" class="block_notices_module" title="<?php echo Mage::helper('M2ePro')->__('Product Type Assigning'); ?>">
                <?php echo Mage::helper('M2ePro')->__('
                Product Type is using to update Amazon Product Information, such as Title, Images, etc.
                It can be assigned to already existed Products.<br/><br/>

                <strong>Note:</strong> To create New ASIN/ISBN you should not only assign Product Type to your Products, but provide Settings for New ASIN/ISBN Creation. You can do it in two ways:<br/>
                <ul class="list">
                <li>using an <strong>Assign Settings for New ASIN/ISBN</strong> Option in Actions bulk at the top of the Grid;</li>
                <li>clicking on a Plus Icon in <strong>ASIN/ISBN Column</strong> of a Grid and selecting an <strong>Assign Settings for New ASIN/ISBN</strong> Option in an opened pop-up.</li>
                </ul>
            '); ?>
            </div>
        <?php } else { ?>
            <div id="block_notice_amazon_new_asin_description_policy_popup_help" class="block_notices_module" title="<?php echo Mage::helper('M2ePro')->__('Assign Product Type for New ASIN/ISBN Creation'); ?>">
                <?php echo Mage::helper('M2ePro')->__('
                For New ASIN/ISBN Creation you should select a prepared Product Type, where New ASIN/ISBN Creation feature is obviously <strong>Enabled</strong>.<br/>
                If Product Type cannot be assigned you will see a reason why it cannot become a base for New ASIN/ISBN Creation in <strong>Status/Reason</strong> Column.<br/><br/>

                <strong>Note:</strong> you can always add new Product Type by pressing Add New Product Type Button.<br/><br/>
                More detailed information about ability to work with this Page you can find <a href="%url%" target="_blank">here</a>.',
                Mage::helper('M2ePro/Module_Support')->getDocumentationUrl(null, null, 'asin-isbn-management')
                ); ?>
            </div>
        <?php } ?>

        <div id="template_product_type_grid" style="margin: 10px auto; height: 380px !important; overflow-y: auto; overflow-x: hidden;">
        </div>

    </div>
</div>