Admin backend that attribute has value but in Frontend its NULL
Tag: Magento
Creating a FlipHTML5 product catalog on the website
If we have a PDF file as a product catalog we can easily create flip HTML. To create a flip catalog, you will need to add interactivity to your pages. There are many tools available online that can help you create flip catalogs, such as FlipHTML5, Yumpu, and Issuu. Upload your catalog: Once you have… Continue reading Creating a FlipHTML5 product catalog on the website
Passing a value from JS to PHP as a parameter
In some cases, we may need to pass data from an input field or template file to the PHP controller. There are different methods like form submission and calling the field by $_GET or $_POST functionshere we used the real-time scheme to pass value directly through PHPThis can be achieved using the following code, here… Continue reading Passing a value from JS to PHP as a parameter
Update total using ‘sales_quote_save_after’ event in magento 2?
Update total amount if selecting a shipping method on the checkout app/code/Vendor/Module/etc/sales.xml app/code/Vendor/Module/Model/Quote/Discount.php app/code/Vendor/Module/Block/Checkout/Fee.php
Extension for Speed optimization Magento 2
‘Magepow’ is having a free extension to optimize the website and increase the performance MagePow Speed Optimizer The speed of your website is slow, which has a negative effect on Google rating and ranking and especially on the customer experience. Magento 2 Speed Optimizer or Magento 2 Speed Optimize (also known as Google page speed… Continue reading Extension for Speed optimization Magento 2
Magento 2 attribute value is empty (or must be set). Set the attribute and try again.
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.
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