The “Attribute_name” attribute value is empty. Set the attribute and try again or The value of attribute “is_new” must be set error may happen when you create a new configurable product or migrating from Magento 1 to Magento 2, or after you import products. Some sample error message you may see: The “Is New” attribute value is empty.… Continue reading Magento 2 attribute value is empty (or must be set). Set the attribute and try again.
Author: Bibin Johnson
Adding a Plugin to call before customer API
sometimes when we need to modify the last name or first name after the API call to the website we may create a plugin to interrupt the call and modify the data before creating on the website create a di.xml file inside etc in a vendor modulelocation vendor/module/etc/webapi_rest/di.xml plugin location Vendor/module/plugin here done an example… Continue reading Adding a Plugin to call before customer API
How do you override Magento\Catalog\Block\Category\View?
For this purpose, we need to replace the constructor
Creating Magento 2 Cron Job Cloudways
To create a Magento 2 cron job, you must log in as a user with root privileges (as mentioned earlier) and run the following command: crontab -u -e Now since the following commands are long and there is a chance of a mistake, I recommend using a text editor. The first command reindexes the indexers,… Continue reading Creating Magento 2 Cron Job Cloudways
How to Create Cron Job Programmatically in Magento 2
The cron Job will create a command or a script that is appropriate with the task you want to do. Instead of manual working, the Cron Job allows running automatically in exact time and date. Due to its automation, the Cron Jobs is the perfect choice for repeated projects every date or every week. Please… Continue reading How to Create Cron Job Programmatically in Magento 2
Javascript to get values from an infinite input table of two inputs. An array of objects Magento 2
Here when there is a requirement for entering a table input of two or more fields the value of the table should be should stored as an array of objects with key and value pair format. This code stores the values in an array as objects from each row. Example: inputs variable selects the input… Continue reading Javascript to get values from an infinite input table of two inputs. An array of objects Magento 2
error code: INVALID_REQUEST error message: The request could not be understood by the server due to malformed syntax. Magento Error
This error is caused due to the signature method error or auth expired from the auth method provided, Recently we have noticed that the hmac_sha1 signature method has expired for some of the projects. it can be resolved by modifying the signature method to hmac_sha256 replace the ouath_signature_method to hmac_sha256. the error will be reolved
How to change PDF Invoice Logo, shipment logo in Magento 2
On the Admin sidebar, click Stores > Settings > Configuration. Then, look into the panel on the left, under Sales, click on Sales Open the Invoice and Packing Slip Design section. Then, do the following: To upload the Logo for PDF Print-outs, click Choose File. Choose the logo, then click Open To upload the Logo for HTML Print View, click Choose File. Choose the… Continue reading How to change PDF Invoice Logo, shipment logo in Magento 2
How to Enable and Submit Sitemap to Search Engines in Magento 2
This article will guide how to setup the sitemap in magento Step 1: Setting and Enable the SitemapEnable and finish all the XML Sitemap configuration to determine the limitation of sitemap files and how frequently the sitemap is updated. Step 2: Setting and Enable robots.txt (Optional)Enable and finish the Search Engine Robots configuration with instructions… Continue reading How to Enable and Submit Sitemap to Search Engines in Magento 2
Customer Updation API from NetSuite to Website
CODE:-