oadAvailableByProduct($product); } else { $this->loadByProduct($product); } if (!$this->getId()) { $this->addData($this->getDefaultData()); } } $this->setProduct($product); $product->setStockItem($this); $product->setIsInStock($this->getIsInStock()); $stockStatus->assignProduct($product, $this->getStockId(), $this->getStockStatus()); $productPriceHelper->applyPrices($product); return $this; } /** * Get maximal stock quantity * * @param float $origQty * @return float */ public function getMaxStockQty($origQty) { $qty = $this->getQty(); if ($qty > $origQty) { $qty = $origQty; } if (!$this->getManageStock()) { return $qty; } if (!$this->getIsInStock()) { return false; } if (!is_numeric($qty)) { $qty = Mage::app()->getLocale()->getNumber($qty); } if (!$this->getIsQtyDecimal()) { $qty = (int) $qty; } $qtyIncrements = $this->getQtyIncrements(); if (!$qtyIncrements){ $qtyIncrements = $this->getDefaultQtyIncrements(); } if ($qtyIncrements && ($qty % $qtyIncrements != 0)) { $qty = floor($qty / $qtyIncrements) * $qtyIncrements; } if ($this->getMinSaleQty() && ($qty < $this->getMinSaleQty())) { return false; } if ($this->getMaxSaleQty() && ($qty > $this->getMaxSaleQty())) { $qty = $this->getMaxSaleQty(); } if (!$qty) { return false; } return $qty; } /** * Returns product instance * * @return Mage_Catalog_Model_Product|null */ public function getProduct() { return $this->_productInstance ? $this->_productInstance : $this->_getData('product'); } }
Set Descending Direction
per page

1 Item(s)

Grid  List 

Set Descending Direction
per page

1 Item(s)

Grid  List 

Shop By
Currently Shopping by:
  1. Remove This Item Engine Arrangement: -
  2. Remove This Item Engine Arrangement: 133-8829
  3. Remove This Item Engine Arrangement: 113-4828
  4. Remove This Item Engine Arrangement: 351-0216
  5. Remove This Item Engine Model: C-27
Shopping Options
Engine Arrangement
  1. 217-5670 (1)
  2. 351-0216 (1)
Engine Model
  1. 3116 (2)
  2. 3126 (3)
  3. 3208 (12)
  4. 3306 (32)
  5. 3406 (40)
  6. 3408 (15)
  7. 3412 (10)
  8. 3508 (2)
  9. G3516 (1)
  10. C-10 (1)
  11. C-11 (1)
  12. C-12 (1)
  13. C-13 (1)
  14. C-15 (7)
  15. C-18 (1)
  16. C-27 (1)
  17. C-9 (4)
Compare Products

You have no items to compare.