This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getAddUrl($product) | |
{ | |
//return $this->_getUrl("catalog/product_compare/add", $this->_getUrlParams($product)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyCompanyName_HelloWorld_Model_Cron | |
{ | |
public function job() | |
{ | |
/* | |
burada işleminizi gerçekleştirebilirsiniz. | |
*/ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<MyCompanyName_HelloWorld> | |
<version>0.1.0 </version> | |
</MyCompanyName_HelloWorld> | |
</modules> | |
<global> | |
<models> | |
<helloworld> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Mage_Checkout_CartController extends Mage_Core_Controller_Front_Action | |
{ | |
// | |
// | |
// | |
// | |
// | |
public function addAction() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyCompanyName_HelloWorld_Model_Observer | |
{ | |
public function addProductToCartAfter(Varien_Object $observer) | |
{ | |
$quote=$observer->getEvent()->getQuote(); | |
$customer=Mage::getSingleton('checkout/session')->getCustomer(); | |
/* | |
burada isleminizi tanımlayabilirsiniz. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<mycompanyname_helloworld> | |
<version>0.1.0 </version> | |
</mycompanyname_helloworld> | |
</modules> | |
<frontend> | |
<routers> | |
<helloworld> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<MyCompanyName_HelloWorld> | |
<active>true</active> | |
<codePool>local</codePool> | |
</MyCompanyName_HelloWorld> | |
</modules> | |
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<mycompanyname_helloworld> | |
<version>0.1.0 </version> | |
</mycompanyname_helloworld> | |
</modules> | |
<frontend> | |
<routers> | |
<helloworld> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyCompanyName_HelloWorld_IndexController extends Mage_Core_Controller_Front_Action{ | |
public function testAction(){ | |
$this->getRequest()->setResponse("Hello World"); | |
} | |
} | |
?> |
NewerOlder