Blog

Blog

Our designers and developers work closely together to build a creative and positive working environment. Functionality is as important to us as aesthetics.

To get cookie domain you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. echo $cookieDomain = Mage::getModel(‘core/cookie’)->getDomain($_cookieName); Please leave your comment for asking any question or suggestion.
Need Help?

To get create date of product you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. echo Mage::getModel(‘catalog/product’)->load($_product->getId())->getCreatedAt(); Please leave your comment for asking any question or suggestion.
Need Help?

To get product update date you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. echo Mage::getModel(‘catalog/product’)->load($_product->getId())->getUpdatedAt(); Please leave your comment for asking any question or suggestion.
Need Help?

To get table prefix you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. echo $prefix = Mage::getConfig()->getTablePrefix(); Please leave your comment for asking any question or suggestion.
Need Help?

To get database name you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. getResourceConnectionConfig(‘default_setup’)->dbname; Please leave your comment for asking any question or suggestion.
Need Help?

To get your tax amount you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it. Mage::helper(‘checkout’)->getQuote()->getShippingAddress()->getDate(‘tax_amount’) Please leave your comment for asking any questions or suggestions.
Need Help?