Tabs 在Magento中,如何在前端选项卡(产品视图页面)中显示捆绑产品选项

Tabs 在Magento中,如何在前端选项卡(产品视图页面)中显示捆绑产品选项,tabs,bundle,magento-1.9,catalog,Tabs,Bundle,Magento 1.9,Catalog,在前端产品视图页面中,我需要在自定义选项卡中显示捆绑产品选项 我在前端产品视图页面中添加了新的自定义选项卡 我已经在这个文件中粘贴了下面的代码 模板/目录/产品/视图/自定义选项卡.phtml $\u product=$this->getProduct(); echo$_product->getName(); 此处显示产品名称,但不显示捆绑产品选项 请帮助我。如何做到这一点 谢谢 <?php if ($_product->isSaleable() && $this

在前端产品视图页面中,我需要在自定义选项卡中显示捆绑产品选项

我在前端产品视图页面中添加了新的自定义选项卡

我已经在这个文件中粘贴了下面的代码

模板/目录/产品/视图/自定义选项卡.phtml


$\u product=$this->getProduct();
echo$_product->getName();
此处显示产品名称,但不显示捆绑产品选项

请帮助我。如何做到这一点

谢谢

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
    <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
<?php endif;?>

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
    <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
<?php endif;?>
    $_product = $this->getProduct();
    echo $_product->getName();