We can add an additional field to upload a file in Did you find the product? For that, we need to login to Magento admin and click on Amasty 2. When we click on Amasty we will get 4 options, Custom Forms Google Invisible Captcha Modules & Notifications Amasty Marketplace In that, we need to… Continue reading How to add an additional field to upload the file in did you find the product?
Category: Magento
How to reorder the fields in the Shipping Address section?
We need to create an extension with the name checkout (vendor/app/code/theme_name/Checkout) Inside that checkout folder, we need to create an etc folder, inside that we need di.xml file and module.xml 2. Inside the checkout folder, we need to create a Plugin folder and inside that, we need 2 more folders Checkout and Block (Plugin->Checkout-> Block),… Continue reading How to reorder the fields in the Shipping Address section?
How to call custom block in phtml file
How to Create User Role in Magento 2?
Creating Magento 2 user roles is the security action you should take before adding any users to your store. It helps you define the level of permissions some users will be granted with in order to restrict their access to some of the Magento 2 admin panel sections. In order to create a user role in Magento 2 take the… Continue reading How to Create User Role in Magento 2?
To add a radio button on the address section.
At first, we need to copy edit.phtml from /var/www/html/kwikclamp/vendor/magento/module-customer/view/frontend/templates/address/ and paste it in /var/www/html/kwikclamp/app/design/frontend/Codazon/fastest/mechanic_tools/Magento_Customer/templates/address/edit.phtml And we need to write code on edit.phtml file. We will get output as shown below We need to add if condition so that we can add a New address without error. If we don’t write the condition the page will… Continue reading To add a radio button on the address section.
How to create a custom field in the table.?
create a XML file Vendor/Module/etc/db_schema.xml mention the table tame and the field.
Product setup in Adobe Ecommerce
To develop an additional field in the customer section of Magento admin
We need to create a new module in an existing extension. And inside that, we need to create the Setup folder and create an InstallData.php file in that folder. Inside that, we need to write the following code given below, so we can get an additional field. To see this additional field: we need to… Continue reading To develop an additional field in the customer section of Magento admin
How to create custom log file in Magento 2?
for Magento 2.4.3 version use this
Adding Remember Me To Magento Sign In and Sign Up Pages
Magento has default feature to keep the user logged in to a particular browser and for custom design it may not be visible . Add the following to custom module layout to Magento Customer>layout>customer_account_login.xml and customer_account_create.xml Turn on the persistence option in back end.