We sacrifice by not doing any other technology, so that you get the best of Magento.
We sacrifice by not doing any other technology, so that you get the best of Magento.
Here we are going to explain, how to get billing and shipping address by customer id in Magento 2? We need to create a module for that. Let's call it - Magemonkeys_Customeraddress The next step is to create a block file - Block/Address.php <?php…
READ MOREWhile auditing the code we found the below error code was generated in the system log : PHP Fatal error: Uncaught TypeError: Argument 1 passed to MagentoEmailModelTemplate::setVars() must be of the type array, null given Above Error throwing due to adding comma separated email in…
READ MOREWhile trying to import the Magento database in my MySQL 5.7.31 version, I faced an error which read "Table storage engine for 'catalog_product_relation' doesn't have this option" So here I'm sharing with you how we can easily solve this import error. For Linux & Window…
READ MOREPlease change the unserialize function in vendor/magento/framework/Serialize/Serializer/Json.php. You also need to check whether the string is serialized or not. public function unserialize($string) { /************** Custom code ***********/ if($this->is_serialized($string)) { $string = $this->serialize($string); } /************** Custom code ***********/ $result = json_decode($string, true); if…
READ MOREToday we are going to explain how to download the file programmatically in Magento 2. Here we have added controller through which we can download image based on the click or call directly. namespace MagemonkeysDownloadControllerIndex; use MagentoFrameworkAppFilesystemDirectoryList; class Image extends MagentoFrameworkAppActionAction {…
READ MOREI have added the new tab & added the file upload field as per my requirements. I have also added some CSV checking functionality in that code. You can modify the code as per your requirement. So here I will be showing you…
READ MOREYou can try below custom module and modify according to your requirement. 1. app/code/Magemonkey/Simpleconfigure/registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, 'Magemonkey_Simpleconfigure', __DIR__ ); 2. app/code/Magemonkey/Simpleconfigure/composer.json { "name": "magemonkey/simpleconfigure", "description": "Magemonkey Simpleconfigure", "require": { "php": "~5.6.0|7.0.2|~7.0.6", "magento/module-store": "0.74.0-beta4", "magento/module-theme": "0.74.0-beta4", "magento/module-widget": "0.74.0-beta4", "magento/module-backend": "0.74.0-beta4", "magento/module-catalog": "0.74.0-beta4",…
READ MORETo fix this issue, we need to create ‘controller.php’ file at the below location. appcodeMagemonkeysCustomerControllerIndex <?php Namespace MagemonkeysCustomerControllerIndex; class Controller extends MagentoFrameworkAppActionAction { protected $customer; protected $customerFactory; public function __construct( MagentoCustomerModelCustomer $customer MagentoCustomerModelResourceModelCustomerFactory $customerFactory ) { $this->customer = $customer; $this->customerFactory = $customerFactory;…
READ MOREFor redirect to 301 - Temporary redirect to an individual page by using the below piece of code. rewrite ^/test1 /test2 redirect; - Permanent redirect to a specific page by using the below piece of code. rewrite ^/test1 /test2 permanent; For redirect…
READ MOREYou can't set any image & color icon image in the Magento color dropdown attribute. If you want to set color images in the dropdown of the color attribute then follow below steps. Step 1: Override this file in your theme and replace…
READ MOREThe commercial vehicle components and spare parts industry has undergone...
The automotive aftermarket industry has undergone a massive transformation over...
The modern digital landscape has transformed how manufacturers, distributors, and...
The automotive parts and component industry has undergone a massive...
Understanding the Digital Transformation of the Industrial Supply Market The...