Home / Programming

Programming

Magento 2 logging

Logging is an important part of every development process. Logs provide insight into system processes of Magento 2 and are a great tool for tracking errors, significant events, exceptions and many more. In order for the logging library to be properly implemented with Magento 2, it must comply with PSR-3 standard. …

Read More »

How to save custom data in cache in Magento 2

Recently I was working on rendering images on a custom template. More precisely, I created a widget for inserting pictures that serve as a picture loader. And by default, the administrator has to input some parameters (width, height, alt) and if he decides, he could upload another image. Reference for …

Read More »

How to set Error / Maintenance page in Fastly CDN

The Fastly CDN will sometimes return a 503 error due to various issues that can occur. The generic text associated with a 503 error is “Service Unavailable” and it can mean variety of things. This default error response can be confusing to the customers and have a basic look and feel. This guide will show... The post How to set Error / Maintenance page in Fastly CDN appeared first on Inchoo. Do you need any custome Development Click here and fill the form with full your requirement and after i will send the quotes of your work requirements....

Read More »

Validate a custom form in Magento 2

This article will cover the fundamentals of validating any form in Magento 2. The contact form on Contact us page will be used and modified for the purpose of the article. The form itself can be found in the following paths, depending on the type of installation you are using: app/code/Magento/Contact/view/frontend/templates/form.phtml vendor/magento/module-contact/view/frontend/templates/form.phtml In order to... The post Validate a custom form in Magento 2 appeared first on Inchoo. Do you need any custome Development Click here and fill the form with full your requirement and after i will send the quotes of your work requirements....

Read More »