Export specific tables from MySQL database - Aureate Labs

In Magento, sometimes you may want to export specific tables for which you need to make use of command line. To export full database, we make use of:mysqldump –user=root –password= –host=localhost –compress –disable-keys –quick [db_name] > export.sql In case you need to export specific tables, use the following command:mysqldump –user=root –password= –host=localhost –compress –disable-keys –quick [db_name] …

blog banner How to get customer session data when a cache is enabled in Magento 2

In this article, you will be learning how to get customer session data when a cache is enabled in Magento 2. Before you read this article, please refer our blog about “Magento 2: How to check customer is logged in or not when a cache is enabled”. We can’t get any data from customer session …

Add view button in admin grid to open a view page in slide window in Magento 2

Follow the steps given below to add a view button in the admin grid: 1. Add the <actionColumn> tag in your admin grid UI component file as given below: 2. Next, we need to create is a UI component class: Aureatelabs\Grid\Ui\Component\Listing\Column\ViewAction.php 3. Add the code given below in Aureatelabs/Grid/view/adminhtml/layout/aureatelabs_grid_index.xml file. 4. Create a template file …

blog banner How to check customer is logged in or not when a cache is enabled in magento 2

In this article, you will be learning how to check customer is logged in or not when a cache is enabled in Magento 2. We can easily check this when a cache is disabled or in the controller, you can get this from customer session. Above code will work in the controller. This code will …