Exemplo n.º 1
0
 public function assignProduct(Mage_Catalog_Model_Product $product)
 {
     parent::assignProduct($product);
     if ($this->getAlwaysInStock()) {
         $product->setIsSalable(true);
     }
     return $this;
 }