-
- beowax

-
Total Posts: 94
Joined: 2007-12-17
Lille, France
|
Hello,
I tried to change statuses in my catalog, but products are always visible, even when i choose “Disabled” or one of my customed statuses.
I also tried to disabled my module (which add the statuses), but nothing changes… Does anybody get the same error ? eg/ Here, $salable is equal to 1, always.
public function isSalable() { $salable = $this->getData('is_salable'); if (!is_null($salable)) { echo "Salable : ".$salable."<br/>"; echo "getStatus : ".$this->getStatus()."<br/>"; return $salable; } echo "getStatus : ".$this->getStatus()."<br/>"; echo "STATUS_ENABLED : ".Mage_Catalog_Model_Product_Status::STATUS_ENABLED."<br/>"; return $this->getStatus() == Mage_Catalog_Model_Product_Status::STATUS_ENABLED; }
Regards,
Antoine
|