Magento get order details : If you are working with magento order and looking for order details you can load order in two ways – Order – Load By Increment Id Order – Load By Entity Id You can use either method to load order in magento. We are going to explain the magento order Full Article…
Magento – How to optimize
Magento’s cache system Magento & Zend Framework Before we go on with various optimization points, it is needed for everyone to understand truly and in depth the Magento two level cache mechanisms. The Magento cache system inherit from Zend Framework‘s (ZF) one. Nothing really surprising there, Yoav has always been close to Zeev & Andy and like this Framework Full Article…
Magento – Check if the SKU is exist
<?php $sku = 'Your Product Sku'; $id = Mage::getModel('catalog/product')->getIdBySku($sku); if ($id){ echo "SKU {$sku} exists"; } else{ echo "SKU {$sku} does not exist"; } ?>
Ubuntu Warning: require_once(HTTP/Request2.php)
If you see this error when you access your source code: Warning: require_once(HTTP/Request2.php) It is saying that you lack some PHP extensions. You need to install 2 extensions: Pear and Http_request2 You can do it by the following commands: sudo apt-get install php-pear sudo pear install http_request2
Magento – COPY PRODUCT DATA FROM ONE MAGENTO STORE VIEW TO ANOTHER
I found recently that adding a new store view to Magento was a pretty straightforward task, however I needed all products on the new store view to be the same as another. All new store-view catalog data inherits from the default store scope instead of a sibling store-view’s data. Copying this content from one store Full Article…
Magento – How to redirect to previous page
Sometimes you will want to redirect to previous page after executing a function. You can try this: $this->_redirectReferer(); It does a little more than redirect to the previous page. If you specify in the url a parameter uenc it will consider that as the referrer.
Fatal error: Class ‘Zend_Pdf_Color_RGB’ not found in magento using zend library
When you use want to replace this code $page = $this->newPage(); by this: $pdf->pages[] = $pdf->newPage('4:6:'); but the results is: Fatal error: Class 'Zend_Pdf_Color_RGB' not found app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php It is common issue, if you are using Windows you can't see this issue, but when you upload it to your Linux server you will see. It Full Article…
Bulk Senders Guidelines – Increase your sending success rate
Troubleshoot delivery issues with Postmaster Tools Gmail Postmaster Tools provides senders with metrics on parameters such as reputation, spam rate, feedback loop, etc. It can help you check compliance to the Gmail bulk sender guidelines, as well as identify issues that can cause trouble with the spam filter. We've received inquiries from bulk senders who'd like Full Article…
How to add a DMARC record
Create the record Once SPF and DKIM are in place, you configure DMARC by adding policies to your domain's DNS records in the form of TXT records (just like with SPF or ADSP). Important: Before creating a DMARC record for your Google Apps domain, you must first set up DKIM authentication. If you fail to set up Full Article…
Can’t receive email from web server from the same domain
If you are using 1 domain and 2 different servers for email and web, you will have the issue from the web server, because you can't receive any emails from your webserver. The root problem could be your server is considering your domain example.com email accounts as local accounts, you can solve that issue by some methods. – Full Article…