magento Archives - Magesan

Tag: magento

How to write jquery in phtml file in magento 2

We need to write jquery sometimes in phtml file for special requirement. For that you need to define jquery in require function in script tag for using jquery within phtml file.Put below script in phtml file and replace console.log with your custom code.

How to import database using CMD or SSH.

Importing database is an essential part of our daily working need with computers. In localhost or even on live server. This command can be used anywhere for Importing database. In localhost or say xampp, you can follow this command in CMD by going in the path given below. Go to the => xampp/mysql/bin Inside above

How to export database using CMD or SSH.

Exporting database is an essential part of our daily working need with computers. In localhost or even on live server. This command can be used anywhere for exporting database. In localhost or say xampp, you can follow this command in CMD by going in the path given below. Go to the => xampp/mysql/bin Inside above