0

I am in need to display custom image uploaded by user into the cart page. I have a custom image with label 'image'.

The file is uploaded in RootDirectory/media/custom_images.

Can you please help me with the method to do so?

1

By default magento is not providing this functionality for that you need to override file

app/design/frontend/base/default/template/checkout/cart/item/default.phtml

<dl class="item-options">
    <?php foreach ($_options as $_option) : ?>
    <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
    <?php if($_option['option_type'] == 'file'):?>
        <?php // override here as per your requirements?>
    <?php endif;?>
    <?php endforeach; ?>
</dl> 

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.