The MageComp Blog

MageComp Badge

How to Install Magento SUPEE 10266 With or Without SSH

img_How to Install Magento SUPEE 10266 With or Without SSH

Magento released community edition version 1.9.3.6 and SUPEE patch 10266 and on 14th September, 2017 containing multiple security enhancements providing potential protection against security issues, unauthorized data leak, and authenticated Admin user remote code execution vulnerabilities. We are here with patch files to install in your Magento. Read More

How to Send Email with Attachment in Magento Without Saving File to Webserver

img_how to send email with attachment in magento without saving file to webserver

While working with Magento, you may need to send numerous Emails from registration confirmation to order delivery, refund requests and many more. Many times you may require to send Email with attachments without storing them to server as they are no longer required once sent. For example, if you are accepting recruitment applications from the candidates, you don’t require to save their resumes on the web server rather just want to send them directly to Email attachments. This require needs custom code in Magento. Read More

How to Add Custom File Upload Control in Magento 2

img_How to add Custom file upload control in magento 2

Working with Magento sometimes require various file uploads to store and use in the extension. While using backend, you may need uploading for example CSV, to add data and use somewhere or validate data from frontend. And from frontend, you need file upload option to let users upload screenshots, images or any other input files you need to store and further use or process. Read More

How to Programmatically Reorder in Magento

img_How to Programmatically Reorder in Magento

Sometimes there is a situation where we have to reorder previously purchased products into customer accounts for continuous delivery of products or services. At that time you can reorder from Magento admin as well as from client checkout page which might take a long time but there is also another way to do reorder programmatically using a simple piece of code. Read More

How to Override Invoice PDF in Magento

img_How to Override Invoice PDF in Magento

Well designed and properly formatted invoices always make a good impression and sometimes badly required to fit enough and needful business information within. Defaut Magento neither provides adding more information nor allow customization as it’s way complicated. While working with one of our extensions, we need to change the layout & override default Invoice PDF in Magento to properly fit all the business information. You may require this custom code in your extension to fulfill custom requirements and thus I’m sharing my code here. Read More

How to Override Configurable Product Price with Simple Product Price in Magento

img_How to Override Configurable Product Price with Simple Product Price in Magento

While dealing with configurable products in Magento, the price of associated simple products are completely omitted. Sometimes when working with complex products, you need to ignore the price difference set for associated simple products and rather want to override price of configurable product with simple ones. This task is a bit tricky and lead to custom code in Magento.
Read More

How to Redirect to Previous Page URL in Magento 2

img_How to Redirect to Previous Page URL in Magento 2

Working with client’s projects get us through lots of new challenges, requirements, implementations and ultimately outperform for the successful project completion. Recently working with such a client, we got a requirement to redirect customers to the previous page from one page checkout. For implementation, we develop custom code which helped to fulfill the requirement. Read More

How to Create Tax Rules Programmatically in Magento 2

Img_How to Create Tax Rule Programmatically in Magento 2

Creating tax rules in Magento 2 controls the tax amount customers will pay while ordering products from your store. This tax is calculated based on product class, customer class, tax rates and shipping address of the customers. Whenever a user add products to cart, tax is calculated analyzing the shopping cart. While developing an extension or working for some of our clients, we require to create tax rules programmatically in Magento 2 where whenever the extension is installed, all the rules created automatically. Read More

How to Override Layout XML Block in Magento 2

img_How to Override Layout XML Block in Magento 2

Templates and layouts are building blocks of theme in Magento 2. Layouts are the XML files which defines the overall structure of a page. Overriding layout XML block in Magento 2 requires when you work with custom extension. There are 2 methods to override layout XML block in Magento 2 and here I will explain both in detail. Read More

Pages:12345678