Blog Posts

How to Add Product to Cart Programmatically With Custom Options in Magento 2

How to Add Product to Cart Programmatically With Custom Options in Magento 2

Earlier, I showed you How to Add Magento 2 Configurable Products Programmatically to Cart Now, what if you are required to add product to cart programmatically with custom options in Magento 2? Crazy business requirements, isn’t it? 😰 I get you, fellow developers 😄 Moreover, this solution can also be helpful if you want an automatic “add to cart” functionality for the configurable product with custom options. For example, the store is offering a free product with a particular product, attach a

Continue Reading

How to Install Magento SUPEE 11155 [With or Without SSH]

How to Install Magento SUPEE 11155 With or Without SSH

Security is of the utmost importance when it comes to Magento store. Owing to this, today Magento released Magento SUPEE 11155  along with the Magento 1.9.4.2 version which provides resolution to multiple critical security issues and functional fixes. These security enhancements help secure your Magento stores from cross-site scripting, arbitrary code execution, and sensitive data disclosure vulnerabilities as well as other security issues. We recommend all the Magento 1.x users to upgrade to the latest Magento 1.9.4.2 or install the patch Magento

Continue Reading

Magento 2.3.2: Everything you need to know about the Latest Release

Magento 2.3.2 Release: Feature Highlights

The release of Magento 2.3.2 comes with a boost to performance and security features. The announcement of the release of the upcoming version was made at  Magento Imagine, 2019, and since then, we would not keep calm! Magento 2.3.2 Release Date The latest version, Magento 2.3.2 is released on June 25, ’19, empowering the developers’ to fulfill the clients’ requirements with more substantial results and store owners to grow their business exponentially! The latest versions of Magento Commerce and Magento

Continue Reading

How to Add Magento 2 Configurable Products Programmatically to Cart

How to Add Magento 2 Configurable Products Programmatically to Cart

A quick method for developers who get bored to check the functionalities they implement! (including me 😉) I was working on a module development task that required to check each and every feature with a simple product and configurable product. Each time repeating the process to select the options, add to cart, and checkout was not feasible. Hence, I came up with a solution that allowed me to add Magento 2 configurable products programmatically to cart which reduced my tedious

Continue Reading

[Fixed] Magento Logging Failed After Installing SUPEE 11086 Patch

Moreover, have you faced an issue of Magento logging failed after installing SUPEE 11086 patch? This is because log validation function added by Magento to validate extensions. It throws an error on is_readable() function in the case log file does not exist yet. To solve this problem, check here.

Magento SUPEE 11086 was released on March 26, 2019. The patch is meant to fix issues like close remote code execution (RCE), cross-site scripting (XSS), cross-site request forgery (CSRF) and other vulnerabilities. However, it comes with an issue of Magento Logging Failed After Installing SUPEE 11086 Patch! The problem is caused due to the log validation function added by Magento to validate extensions. It throws an error on is_readable() function in the case log file does not exist yet. Implement the below

Continue Reading

34-Points Accurate Magento 2 Go Live Checklist

Accurate Magento 2 Go Live Checklist

About to launch a Magento 2 store? Congratulations! 😃 But worried if everything has been done right? Relatable! From my experience and the mistakes that I realized after launching a store, I have summarized a list that I would like to say as “Magento 2 Go Live Checklist” 😎 You might be well prepared for the “Yaay” moment but I’d still recommend going through the below Magento 2 launch checklist to avoid any “Oops” moment!! Magento 2 Go Live Checklist: Check the

Continue Reading

How to Create Plugin in Magento 2

How to Create Plugin in Magento 2

As defined by the official document, “A plugin or interceptor is a class that modifies the behavior of public class functions by intercepting a function call and running code before, after, or around that function call and allows to substitute or extend the behavior of original, public methods for any class or interface.” Simplifying the words, “A plugin or interceptor is a way to insert code dynamically without changing the original class behavior. It allows extending the core functionality without any modification to

Continue Reading

How to Enable Magento Error Log

How to Enable Magento Error Log

It is frustrating when errors don’t leave your code 😰 Even more, you don’t know what is going wrong and where! Been there? Me too. The Magento, by default, does not keep a track of errors and exceptions. However, you can always enable Magento error log to debug the issues. It is a way to tell Magento to save the error logs, which can be later used to audit and solve the errors! Method to Enable Magento Error Log: Log

Continue Reading

8 Ways to Check Magento Version

9 Ways to Check Magento Version

Magento, a popular and widely used E-commerce platform, keeps on releasing the updated versions with improvement and bug fixing. The store owners are expected to keep in pace with these updates to be able to offer the latest features and enhanced security to the shoppers. However, to update the Magento version requires proficiency and thorough information about the current version. To kickstart with the upgrade process, I have compiled a list of methods to check Magento version. Pick any one

Continue Reading

How to Get Simple Product from Magento 2 Configurable Product Before Add to Cart

How to Get Simple Product from Magento 2 Configurable Product Before Add to Cart

As a Magento 2 developer, you come across a variety of business demands that need to be fulfilled to optimize the profit or customer service. As a Magento 2 developer myself, I recently came across a client who sells the configurable products having a different combination of the simple products offering different payment methods. A combination can be bought with recurring payment method and another can be bought as a one time purchase. Now, as the recurring product cannot be combined

Continue Reading