I have added related product to one simple product it's all are display in product detail page but it's not display with checkbox for select so that i am not able to add that product to cart. According to me following code has issue to display checkbox.
<?php if(!$_item->isComposite() && $_item->isSaleable()): ?> <?php if (!$_item->getRequiredOptions()): ?> <input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products" value="<?php echo $_item->getId() ?>" /> <?php endif; ?> <?php endif; ?>
This code is already in this path:
/app/design/frontend/base/default/template/catalog/product/list/related.phtml line no 37
if you have any idea about this please share it with me.