Adding Tawk Chatbot script to magento backend.

If you have a tawk configured site and its script it can be added to the magento backend . Careful about the script src number given from the tawk website. For reference: Paste this code in CONTENT>CONFIGRATION>EDIT THEME> FOOTER>  Miscellaneous HTML Same thing is used for all scripts to view chatbot in the page.

Adding Breadcrumbs to Magento My account Page.

for adding breadcrumbs to each page , each page needs an action for the link. here is an example adding breadcrumbs to customer account pages sign in and sign up pages. For that we have to add the code into customer_account_create.xml inside Magento_Customer module it can also added using an external module : https://github.com/karliuka/m2.Breadcrumbs Refer… Continue reading Adding Breadcrumbs to Magento My account Page.

Adding Stripe and Eway Payment method to magento 2

You will need a Magento Marketplace account, you can then link the account to your Magento 2 store and add the free eWAY and Stripe Magento 2 extension to your account. After that we use composer to install both these modules. In the Magento 2 directory, run the command (note, please ensure you are using… Continue reading Adding Stripe and Eway Payment method to magento 2

Add custom link to my account menu

First of all we will need to find out they responsible layout and block for the navigation menu. The layout is the customer_account.xml and the block is the customer_account_navigation. STEP – 1 Simply create a customer_account.xml file under your theme directory /app/design/frontend/VENDOR/THEME/Magento_Customer/layout/ and add the following code. after this create a route customer index Step – 2 createa index.php at… Continue reading Add custom link to my account menu

Adding Captcha to site via Amasty module

General Settings To get the access to the ‘Invisible Captcha’ settings, please go to Stores → Configuration → Amasty extensions → Google Invisible Captcha and expand the General Settings section. We have to generate scre key and site for every domains, we must fill a form to get those keys. Site Key and Secret Key – enter the values of both keys… Continue reading Adding Captcha to site via Amasty module

How to create a custom block in Magento 2

1. Add a new PHP class block. Create the file in the following location: and add the following code to it: \Magento\Framework\View\Element\Template — a class from which you inherit your own block that interacts with the template. 2. Add a template file (template .phtml file) Create this file: 3. Combine the PHP class block and the… Continue reading How to create a custom block in Magento 2