require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'str_pad_iconv', 'custom:email/blockShipment.tpl', 4, false), array('modifier', 'truncate', 'custom:email/blockShipment.tpl', 4, false), array('modifier', 'str_pad', 'custom:email/blockShipment.tpl', 4, false), array('modifier', 'htmlspecialchars', 'custom:email/blockShipment.tpl', 7, false), array('modifier', 'escape', 'custom:email/blockShipment.tpl', 19, false), array('modifier', 'count', 'custom:email/blockShipment.tpl', 35, false), array('function', 'translate', 'custom:email/blockShipment.tpl', 7, false))), $this);
if (!$this->_tpl_vars['html']) {
    $_from = $this->_tpl_vars['shipment']['items'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['item']) {
            ?>

<?php 
            if ($this->_tpl_vars['SHOW_SKU']) {
                echo smarty_modifier_str_pad_iconv($this->_tpl_vars['item']['Product']['sku'], 10);
            }
            echo smarty_modifier_str_pad_iconv(is_array($_tmp = $this->_tpl_vars['item']['Product']['name_lang']) ? $this->_run_mod_handler('truncate', true, $_tmp, 29, "...", 'true') : smarty_modifier_truncate($_tmp, 29, "...", 'true'), 31);
            echo str_pad(is_array($_tmp = $this->_tpl_vars['item']['formattedDisplayPrice']) ? $this->_run_mod_handler('truncate', true, $_tmp, 9, "...") : smarty_modifier_truncate($_tmp, 9, "..."), 10);
            echo str_pad(is_array($_tmp = $this->_tpl_vars['item']['count']) ? $this->_run_mod_handler('truncate', true, $_tmp, 8, "...") : smarty_modifier_truncate($_tmp, 8, "..."), 9);
            echo $this->_tpl_vars['item']['formattedDisplaySubTotal'];
            ?>

<?php 
            if ($this->_tpl_vars['item']['options']) {
                $_from = $this->_tpl_vars['item']['options'];
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                if (count($_from)) {
                    foreach ($_from as $this->_tpl_vars['option']) {
                        echo $this->_tpl_vars['option']['Choice']['Option']['name_lang'];
                        ?>
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('translation__product', ob_get_contents());
    ob_end_clean();
    echo smarty_modifier_str_pad_iconv($this->_tpl_vars['translation__product'], 25);
    ob_start();
    echo smarty_function_translate(array('text' => '_price'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('translation__price', ob_get_contents());
    ob_end_clean();
    echo smarty_modifier_str_pad_iconv($this->_tpl_vars['translation__price'], 11);
    ob_start();
    echo smarty_function_translate(array('text' => '_qty'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('translation__qty', ob_get_contents());
    ob_end_clean();
    echo smarty_modifier_str_pad_iconv($this->_tpl_vars['translation__qty'], 9);
    echo smarty_function_translate(array('text' => '_subtotal'), $this);
    ?>

<?php 
    if ($this->_tpl_vars['SHOW_SKU']) {
        ?>
----------<?php 
    }
    ?>
------------------------------------------------------------
<?php 
}
if ($this->_tpl_vars['html']) {
    if (!$this->_tpl_vars['noTable']) {
        ?>