Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloOne & HelloOne iPhone HelloOne & EasyTabs Reply To: HelloOne & EasyTabs

    #15682

    Anonymous

    Ok thats a step forward :D
    How can i generate my own *.phtml files with the attributes ?
    For example

    <?php
    $_helper = $this->helper(‘catalog/output’);
    $_product = $this->getProduct()
    ?>
    <?php if($_additional = $this->getAdditionalData()): ?>
    <div class=”collateral-box attribute-specs”>
    <table cellspacing=”0″ class=”data-table” id=”product-attribute-specs-table”>
    <?php foreach ($_additional as $_data): ?>
    <tr>
    <td class=”label”><?php echo $this->__($_data['label']) ?></td>
    <td class=”data”><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
    </tr>
    <?php endforeach; ?>
    </table>
    <script type=”text/javascript”>decorateTable(‘product-attribute-specs-table’)</script>
    </div>
    <?php endif;?>

    this is in the attributes.phtml but i want to show not all attributes.
    I need only some special attributes and my own.

    ie.

    weight
    delivery time
    myown

    How can i change this ?

    Tnx