palo2014
26.09.14,13:27
ludom
03.10.14,09:01
Potrebuješ spraviť dve veci:

1.) V súbore: app/design/frontend/base/default/template/catalog/product/view.phtml nájdi okolo riadku 65 (záleží od verzie magenta) tento kód a zmaž tie čo som vyznačil červenou:


isSaleable()): ?>
getChildHtml('addtocart') ?>
helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
__('OR') ?>


getChildHtml('addto') ?>




2.) v súbore: app/code/core/Mage/CatalogInventory/Model/Stock/Item.php nájdi okolo riadku 580 tento kód:

/**

if (!$this->getIsInStock()) {
$result->setHasError(true)
->setMessage(Mage::helper('cataloginventory')->__('This product is currently out of stock.'))
->setQuoteMessage(Mage::helper('cataloginventory')->__('Some of the products are currently out of stock.'))
->setQuoteMessageIndex('stock');
$result->setItemUseOldQty(true);
return $result;
}

**/



a zakomentuj ho (pridaj tam to čo som vyznačil červenou).

To by malo myslím stačiť.