2014-11-14 60 views

回答

0

我想你想创建一个 '分组的产品',而不是 '捆绑产品'。对于捆绑产品,没有任何严肃的编码,除非您在捆绑产品上使用pricerules(注意事项),否则这是不可能的。

0

问题解决我自己下面的步骤。

1)创建自定义属性从管理像上面属性,底部

2)创建新的产品组从管理属性设置像束

3)选择其中一个创建新属性集并拖动属性,该属性在创建在步骤1

4)一种radio.phtml文件,并添加以下代码

$product_id = Mage::registry('current_product')->getId();; 
     $attribute = Mage::getModel('catalog/product')->load($product_id); 
     if($attribute->bundle_top_price>0){ 
      echo $currency_symbol = Mage::app()->getLocale()->currency($currency_code)->getSymbol().' '; 
      if($_option->getTitle()=='top'){     
       echo number_format($attribute->bundle_top_price,2); 
      }else { 
       echo number_format($attribute->bundle_bottom_price,2); 
      } 
     }