How to Enable Magnifier in Magento 2

In order to enable the magnifier widget in Magento 2 theme, you have to go into the view.xml in your local theme configuration file and then enable the Magnifier widget. Now you have to change content like the below code. Now the view.xml file will have the content Output

Published
Categorized as Magento

How to Create Custom Payment Method in Magento 2?

There are following files will have to create:- 1 – Create Test/Testpayment/registration.php for register your module. 2- Create Test/Testpayment/etc/module.xml for define module name. 3- Create Test/Testpayment/etc/config.xml for define your payment method. 4- Create Test/Testpayment/etc/adminhtml/system.xml for display payment method in backend. In this file mentioned only one field for enable/disable method.You can add field accordingly your need. 5- Create… Continue reading How to Create Custom Payment Method in Magento 2?

Published
Categorized as Magento

How to create an additional field in the Payment section of the Magento backend?

Added a new payment method by creating a new custom module in the app/code folder and named as Payment. Created files as follows etc->adminhtml and inside that system.xml Code: After this we need to delete the folder in setup module in our database, And after that; php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento s:s:d… Continue reading How to create an additional field in the Payment section of the Magento backend?

Published
Categorized as Magento

How to create an additional field in the customer section of the Magento backend?

Written the below code in the existing module customfield->setup->InstallData.phpCode: After this we need to delete the folder in setup module in our database, And after that; php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento s:s:d -f en_US –theme Swissup/argento-marketplace sudo chmod 777 -R /var/www/html/Szco_Supplies_Magento_Nestuite_website/ After this, it will be as shown in the screenshot below.… Continue reading How to create an additional field in the customer section of the Magento backend?

Published
Categorized as Magento

How to override a block from a vendor to a custom module?

To override a block from a vendor module in Magento, you can follow these general steps: Create a custom module: If you haven’t already, create a custom module in your Magento installation. This module will contain the overridden block and any additional customization you want to apply. Identify the block to override: Determine the block… Continue reading How to override a block from a vendor to a custom module?

Published
Categorized as Magento

How to make 1 slide visible when scrolling on mobile devices?

In the above code, the ‘slidesToScroll’ option is set to 1, which means that two slides will be scrolled at a time. The ‘1’ argument after ‘slidesToScroll’ is the same as the one after ‘slidesToShow’, and it specifies the number of slides to be displayed at a time. You can adjust the ‘slidesToScroll’ option to… Continue reading How to make 1 slide visible when scrolling on mobile devices?

Published
Categorized as Magento

What are Up-sell products and Cross-sell products?

Up-selling and cross-selling are both techniques used by businesses to increase their revenue by encouraging customers to purchase additional products or upgrade their existing purchases. Up-selling is the practice of offering a higher-end or more expensive version of a product that the customer is already interested in purchasing. For example, if a customer is interested… Continue reading What are Up-sell products and Cross-sell products?

Published
Categorized as Magento