Created
November 29, 2014 02:02
-
-
Save emrahuyanik/0a0e68d00346a9f7324f to your computer and use it in GitHub Desktop.
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. | |
*/ | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment