On November 28, 2018, Magento released the SUPEE-10975, which brings about a lot of functional fixes as well as security improvements. The major purpose of this patch is to handle the cross-site scripting (XSS), remote code execution (RCE), cross-site request forgery (CSRF) and other threats. How To Install Magento SUPEE-10975? As you might know, there are two popular ways
Magento Tutorials
How To Fix The Magento Error: Google Shows Wrong Meta Description?
One of the common issues for Magento e-commerce websites is wrong meta description shown on Google. In this blog post, we will tell you the causes of this error as well as how to fix it. Causes of Wrong Meta Description Error In general, most of the Magento stores face this error since there is
getAllVisibleItems: How To Show Only Configurable Products & Hide Parent Products?
PROBLEM: The developer has a custom observer executing after “sales_order_place_after” that compiles a list of purchased items from the order and sends them to a third party. This script worked fine in Magento 1, but when upgrading to Magento 2, it shows both of the configurable product and its parent product being listed. Here is
[Fix It Series] Magento Error: Missing all sale tables but sale orders are recorded
PROBLEM: [Magento Error] Most of the tables in database are missing and that includes all of the sales. Moreover, when someone makes an order, it is recorded inside the admin section but there is no record within the database. SOLUTIONS: Using Database Repair Tool: The Database Repair Tool compares 2 databases and updates the target
How To Change Add To Cart Button Text and Relink In Magento?
TASK: Change Add To Cart button text to “Find Out More” Moreover, when the customers click on the button, it will be redirected to a different URL on the website. SOLUTIONS: 1st Method: Modifying your code as below and check in the file …template/catalog/product/view/addtocart.phtml Change from: <?php $_product = $this->getProduct(); ?> <?php $buttonTitle =
How To Set BCC For Customer Welcome Email In Magento?
TASK Set BCC for the welcome emails that are sent to the new customers when they register new accounts. SOLUTIONS 1st method: In your custom module – Rewrite model Mage_Customer_Model_Customer in config.xml <config> <global> <models> … <customer> <rewrite> <customer>Vendor_Namespace_Model_Customer_Customer</customer> </rewrite> </customer> … </models> </global> </config> – Create Customer.php in path Vendor/Namespace/Model/Customer/Customer and override function
How To Get SKUs From Orders in Magento?
TASK: Getting all SKUs from orders of the user who is currently logged in in Magento For Example: A user has placed 3 orders. 1st order contains SKUs: 0001, 0002 and 0003 2nd order contains SKUs: 0002 and 0004 3rd order contains SKUs: 0001, 0002 and 0005 How can we get the returned list of
[Fix It Series] Magento Error: Invalid Form Key. Please refresh the page
PROBLEM: This is one of the most common problems that Magento developers have to face. Specifically, you can’t log in to the Magento admin. At the same time, you get the following message “Invalid Form Key. Please refresh the page”the screen. Here is the solution. SOLUTIONS: There are a few ways to handle this issue: 1st
How To Format SEO URL With Slashes in Magento?
TASK: Adding slashes into SEO URL in Magento From: https://www.example.com/products?p=1&attributes=value To: https://www.example.com/products/p/1/attributes/value SOLUTIONS: You can override the getUrl() method in the class Mage_Catalog_Model_Layer_Filter_Item, path /app/code/core/Mage/Catalog/Model/Layer/Filter/Item.php Then, locate the function at the line 57, it will look like this: public function getUrl() { $query = array( $this->getFilter()->getRequestVar()=>$this->getValue(), Mage::getBlockSingleton(‘page/html_pager’)->getPageVarName() => null // exclude current page from urls); return
[Fix It Series] Magento Error: Custom Option Type Fields Are Not Displayed
PROBLEM: Working on a module to add a product custom option input type (Derivated from file type). In the back-end, under catalog/product/custom options, the new option is present in the “input type” list but when selecting it, the associated custom option type fields are not displayed (e.g.: price, price type, sky, compatible file extension, etc.). app/code/A/Custoptiontype/etc/module.xml <?xml version=”1.0″