Can anybody please help me to provide a code that show the additional information of a product on a sepecrate page...

If there is any php code, please let me know so i can use that..

I am not fiding any proper code..

IF possible how can i change this code in a way that i can use it on any seperate page against a specific product id.

    $_helper = $this->helper('catalog/output');
    $_product = $this->getProduct()
<?php if($_additional = $this->getAdditionalData()): ?>
    <h2><?php echo $this->__('Additional Information') ?></h2>
    <table class="data-table" id="product-attribute-specs-table">
        <col width="25%" />
        <col />
        <?php foreach ($_additional as $_data): ?>
                <th class="label"><?php echo $this->escapeHtml($this->__($_data['label'])) ?></th>
                <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
        <?php endforeach; ?>
    <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
<?php endif;?>

Please help me..

Thanks in advance...


Using your existing code. You just need to change this,

$_product = $this->getProduct()


$_product = Mage::getModel('catalog/product')->load(100)

Replace 100 with your product ID.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.