Troubleshooting - Follow Up Email

  • You don't have permission to access /index.php/emaildesign/adminhtml_design/save/id/11/key/66ea3cdbc88430d08d1c0ca9af546bce/ on this server

    Error could appear if you try to save email template or you may find it on a network tab in browser developer toolbar when previewing the email template or design.
    This problem is related to restriction on a server side to handle requests with php code, html tags or other forbidden symbols.

    Solution:
    It's possible that your server uses the extension "ModSecurity" (or any other similar tool), it's a toolkit for real-time web application monitoring, logging, and access control.

    To render the email template/design our extension sends AJAX request to the server (http://example.com/admin/emaildesign_template/drop/id/7/?isAjax=true) which may contain PHP and HTML tags in its body. The extension ModSecurity can be configured in a way to forbid accept requests which may contain any tags (HTML, PHP).

    If that is the case you may contact your server admin, and ask to check the URLs below:

    We recommend you to ask your server admin to "whitelist" the above mentioned requests in order to accept them and be able to save and preview templates.

  • core/email_template must be Mirasvit_EmailSmtp_Model_Email_Template, current rewrite is 'Some Another Class Name'

    This problem is related to conflict between modules that provide similar functionality and extend email-related functionality of Magento.

    Solution:
    Our extension Follow Up Email is supplied in package with the optional extension Mirasvit EmailSMTP, which provides additional features and allows you to send all the Magento emails through the configured SMTP server.
    To make it possible our module EmailSMTP extends the core functionality of Magento. Since there are a lot of modules which provide similar functionality, there may be a conflict between other installed modules.
    If you encounter this conflict in order to cope with it you may need to disable one of the extensions. Weigh all the pros and cons of disabling concrete module, then go to the folder app/etc/modules/ located at the root directory of your Magento store, open the module activation file, and change its directive active to false from true.
    Since our extension Mirasvit Email SMTP is optional and it does not affect overall functionality of the Follow Up Email extension you can disable it without ceremony.

  • How do I display ordered product options in the email template?

    To display product options for configurable products, add the following code to the email template:

    <?php if($item->getProduct()->isConfigurable()): ?>
        <?php if ($item instanceof Mage_Sales_Model_Order_Item): ?>
          <?php $_options = $item->getProductOptionByCode('attributes_info'); ?>
        <?php else: ?> 
            <?php
              $helper = Mage::helper('catalog/product_configuration');
              $_options = $helper->getConfigurableOptions($item);
            ?>
        <?php endif;?>
    
        <?php if ($_options):?>
          <?php foreach ($_options as $_option) : ?>
          <?php $_formatedOptionValue = Mage::helper('catalog/product_configuration')->getFormattedOptionValue($_option) ?>
          <div>
              <b><i><?php echo $this->escapeHtml($_option['label']) ?></i></b>: <?php echo $_formatedOptionValue['value'] ?>
              <?php if (isset($_formatedOptionValue['full_view'])): ?>
              <p>
                  <span><b><i><?php echo $this->escapeHtml($_option['label']) ?></i></b></span>
                  <span><?php echo $_formatedOptionValue['full_view'] ?></span>
              </p>
              <?php endif; ?>
          </div>
          <?php endforeach; ?>
        <?php endif;?>
    <?php endif; ?>

Follow Up Email