Programmatically Unsubscribe Customer
Use the code given below to unsubscribe the email. [php] Mage::getModel(‘newsletter/subscriber’)->loadByEmail($emailAddress)->unsubscribe(); [/php]
Use the code given below to unsubscribe the email. [php] Mage::getModel(‘newsletter/subscriber’)->loadByEmail($emailAddress)->unsubscribe(); [/php]
To display contact number of magento store, we need to just copy and paste the code given below, where we want. [php] Mage::getStoreConfig(‘general/store_information/phone’); [/php]
Recent Comments