<commit_before><?php
class Magebay_Productbuilderpro_Block_Adminhtml_Additional_Product_Info extends Mage_Core_Block_Abstract
{
    protected function _toHtml()
    {
        $item = $this->getParentBlock()->getItem();
        $additionalOptions = serialize($item->getProductOptionByCode("additional_options"));
        if($additionalOptions) {
            $customizeInfo = Mage::helper("productbuilderpro")->getCustomizeInfo($additionalOptions);
            if($customizeInfo) {
                /**
                 <dt><span style="font-weight: bold"><?php echo $this->__('Customize Info') ?></span></dt>
    <dl class="item-options pdp_cart_item">
    <?php foreach ($customizeInfo['selected_layer'] as $layer) : ?>
        <dt><?php echo $this->__($layer['root_title']) ?></dt>
        <dd><?php echo $this->__($layer['title']) ?></dd>
    <?php endforeach; ?>
        <dt><?php echo $this->__("Design Preview") ?></dt>
        <dd>
            <a href="<?php echo $customizeInfo['thumbnail_image']  ?>" target="_blank">
                <img width="300px" src="<?php echo $customizeInfo['thumbnail_image'] ?>"/>
            </a>
        </dd>
    </dl>
                **/
                
                $html = "<div>";
                    $html .= '<dt><span style="font-weight: bold">' . Mage::helper("productbuilderpro")->__("Customize Info") . '</span></dt>';
                    $html .= '<dl class="item-options pdp_cart_item">';
                    foreach ($customizeInfo['selected_layer'] as $layer) {
                        $html .= '<dt>' . $layer['root_title'] . '<dt>';
                        $html .= '<dd>' . $layer['title'] . '<dd>';
                    }
                    $html .= "<dt>". Mage::helper("productbuilderpro")->__("Design Preview") ."</dt>";
                    $html .= "<dd><img src='". $customizeInfo['thumbnail_image'] ."' width='200px'/></dd>";
                    $html .= '</dl>';
                $html .= "</div>";
                return $html;
            }
        }
    }
}<commit_msg>Remove comment customize info in backend<commit_after><?php
class Magebay_Productbuilderpro_Block_Adminhtml_Additional_Product_Info extends Mage_Core_Block_Abstract
{
    protected function _toHtml()
    {
        $item = $this->getParentBlock()->getItem();
        $additionalOptions = serialize($item->getProductOptionByCode("additional_options"));
        if($additionalOptions) {
            $customizeInfo = Mage::helper("productbuilderpro")->getCustomizeInfo($additionalOptions);
            if($customizeInfo) {
                $html = "<div>";
                    $html .= '<dt><span style="font-weight: bold">' . Mage::helper("productbuilderpro")->__("Customize Info") . '</span></dt>';
                    $html .= '<dl class="item-options pdp_cart_item">';
                    foreach ($customizeInfo['selected_layer'] as $layer) {
                        $html .= '<dt>' . $layer['root_title'] . '<dt>';
                        $html .= '<dd>' . $layer['title'] . '<dd>';
                    }
                    $html .= "<dt>". Mage::helper("productbuilderpro")->__("Design Preview") ."</dt>";
                    $html .= "<dd><img src='". $customizeInfo['thumbnail_image'] ."' width='200px'/></dd>";
                    $html .= '</dl>';
                $html .= "</div>";
                return $html;
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.1870758335792269, 'fraction_numerical': 0.0026556506344054295, 'mean_word_length': 2.067873303167421, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6349890', 'n_tokens_mistral': 962, 'n_tokens_neox': 918, 'n_words': 163}