vipin garg

Home/vipin garg

About vipin garg

This author has not yet filled in any details.
So far vipin garg has created 0 blog entries.

How to use magento 1 customer password in magento 2

Magento 1 use MD5 hash to encrypt the password and Magento 2 use SHA-256. In Magento 1, they use Mage_Core_Model_Encryption class with following functions. [crayon-6741a103180d0023052840/] [crayon-6741a103180e0770091771/] Magento 1 generate hash by md5(salt + password) and save in database with

By |2023-01-17T20:13:12+05:3022 August 2018|Comments Off on How to use magento 1 customer password in magento 2

How to create magento2 knockout chart

You can download complete working example from below url https://github.com/mukdam/magento2-knockout-chart See below how it will work. Create a phtml file [crayon-6741a1031863e099671278/] [crayon-6741a1031864b694043698/] Create a .html file [crayon-6741a1031864e677015609/] And add a js [crayon-6741a10318651290517172/] You can draw more type graph

By |2023-01-17T20:13:24+05:3020 August 2018|Comments Off on How to create magento2 knockout chart

How to create custom email template in magento 2

First we have to create a field in configuration ‘system.xml’ in folder app/code/Auriga/Email/etc/adminhtml/,  from where we can select which email template will use. [crayon-6741a1031895e104899394/] Now create a email template configuration file at app/code/Auriga/Email/etc location file name should be email_templates.xml

By |2023-01-17T20:14:13+05:306 August 2018|Comments Off on How to create custom email template in magento 2

How to expose a custom field from sales_order table to rest api?

Suppose you have custom field delivery_type in sales_order table.  You are accessing order using rest Api but this field is not present in response. Requested Api: http://localhost/default/rest/default/V1/orders/{order_id} You can get it working for individual order. Though if you want to show this attribute

By |2023-01-17T20:14:23+05:302 August 2018|Comments Off on How to expose a custom field from sales_order table to rest api?

How to use bundle products in configurable products?

By default magento does not allow to use bundle products in configurable products. You can change few files to make it work. You needs to change two files: 1. app/code/core/Mage/Catalog/etc/config.xml [crayon-6741a10318f55769627808/]   2. app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php You need to manage

By |2023-01-17T20:14:38+05:3031 July 2018|Comments Off on How to use bundle products in configurable products?

How to override/extend controller in Magento 1

If we want to override controller file in magento 1 then we need to add create custom modules like following: Create a new module and declare it in “app/etc/modules” by adding a xml file. app/code/modules/Wd_Wishlist.xml: [crayon-6741a1031921a343983862/] Create folders

By |2023-01-17T20:14:49+05:3025 July 2018|Comments Off on How to override/extend controller in Magento 1

Magento​ ​Login​ ​Issue​ ​With​ ​Chrome

Magento login for admin/customer works fine with Firefox and IE. But sometimes we are not able to login in chrome. This is caused by session cookie compatibility in chrome browser. So sometimes in chrome you will not able to login

By |2023-01-17T20:14:57+05:3019 July 2018|Comments Off on Magento​ ​Login​ ​Issue​ ​With​ ​Chrome

How to use scripts in elastic search

Wherever scripting is supported in the Elasticsearch API, the syntax follows the same pattern: [crayon-6741a10319732341310055/] The language the script is written in, which defaults to painless. The script itself which may be specified as source for an inline script or id for a stored

By |2023-01-17T20:15:05+05:3018 July 2018|Comments Off on How to use scripts in elastic search

How to create custom API in Magento 2

The REST API documentation published on the Magento 2 Developer Documentation website describes the REST APIs that are available on the latest release of Magento 2.  This documentation is generated from the code base using Swagger and represents the state of the code at

By |2023-01-17T20:15:11+05:3011 July 2018|Comments Off on How to create custom API in Magento 2

Yodlee fastlink integration – Add bank account process

Yodlee is a leading data aggregation and data analytics platform powering dynamic, cloud-based innovation for digital financial services.  Today's banking and financial application consumers want one place where they can login and see all of their financial accounts.

By |2023-01-17T20:17:41+05:3016 January 2017|Comments Off on Yodlee fastlink integration – Add bank account process

Unit and functional testing in php yii2 framework

There are plenty of ways to test your application. The most popular paradigm is Unit Testing. As for web applications, testing the controller, or model in isolation doesn’t prove your application is working. To test the behavior of

By |2023-01-17T20:19:43+05:3018 November 2016|Comments Off on Unit and functional testing in php yii2 framework

Web application monitoring with New Relic

New Relic Servers for Linux allows you to view and analyze critical system metrics, including CPU usage, physical memory, network activity, processes, and disk I/O utilization and capacity. This section provides information about compatibility and requirements, basic instructions

By |2023-01-17T20:20:03+05:303 November 2016|Comments Off on Web application monitoring with New Relic

Magento integration with Mongodb and RabbitMq

Magento frontend is little slow with mysql. To solve this problem, We can use mongo db for categories and products listing. We can copy store categories and products to mongo db via observer whenever any changes done by

By |2023-01-17T20:20:10+05:303 November 2016|Comments Off on Magento integration with Mongodb and RabbitMq

PHP optimization tips for any project

Optimization is part of every project. If you are a developer, it is essential for you to optimize your script early in the development process itself. Following the best practices while coding your PHP script is a good

By |2023-01-17T20:20:19+05:3010 October 2016|Comments Off on PHP optimization tips for any project

Submit page changes for reviewer in beaver builder – wordpress

How we can submit page changes for review and make live after reviewed it in beaver builder? There is  revisionary plugin https://wordpress.org/plugins/revisionary/.  Revisionary creates a new user role named Revisor. Revisors can make changes to page content, but

By |2023-01-17T20:20:26+05:3010 October 2016|Comments Off on Submit page changes for reviewer in beaver builder – wordpress

Understanding elastic search and installation

Elasticsearch is a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time. It is generally used as the underlying engine/technology that

By |2023-01-17T20:21:36+05:3024 June 2016|Comments Off on Understanding elastic search and installation

How to use elastic search in yii2

Elastic Search can be implemented in yii2 easily. You need to setup server and elastic search before to use. After elastic search setup, you need to install the yii2 extension https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/README.md Configure in common/main.php file [crayon-6741a1031aff9606681949/] Creating index

By |2023-01-17T20:21:50+05:3024 June 2016|Comments Off on How to use elastic search in yii2

PHP Logging

Logging is one of the basic requirements of every projects. Logging needs to manage system level errors, data errors for business logic etc. It can be done easily in most of MVC frameworks. Logging can be save in

By |2023-01-17T20:21:57+05:3024 June 2016|Comments Off on PHP Logging

PHP Caching

PHP caching is good way to speed up the web page. By storing relatively static data in cache and serving it from cache when requested, the application saves the time that would be required to generate the data

By |2023-01-17T20:22:42+05:3010 June 2016|Comments Off on PHP Caching
Go to Top