Step 1: Navigate to Stores>Configuration>Sales>Checkout and explore the Checkout Options. Enable Onepage Checkout: Select the “YES” option for enabling one-step checkout. Enable Terms and Conditions: Select the “YES” option for enabling Terms and Conditions. Step 2: Now, navigate to Stores>Terms and Conditions And tap on the “Add New Condition” option. Fill out all the following information: Condition Name: Add the name of the condition for your personal… Continue reading Steps to Add Terms And Conditions Checkbox in Magento 2
Author: Seena Varghese
How to Add Product Attribute in Magento 2?
1. Go to Admin Panel > Stores > Attributes > Product. Press the Add New Attribute button. 3. Fill out the Attribute Properties section. Enter a Default Label of an attribute. It will be displayed on the admin panel. Choose a type of an attribute in the Catalog Input Type for Store Owner field. There are such available values here as: Text Field, Text Area, Date, Yes/No, Mutliple Select, Dropdown, Price, Media Image,… Continue reading How to Add Product Attribute in Magento 2?
How to Add and Invite Additional Chat Agents in tawk to?
After login, Click on the Admin section in the sidebar menu of the Dashboard. Now Click on “Property Members” option Next click on Invite Member button Here enter the Email address and select the Role of members Now click on Send Invitation button.
Installing the tawk.to Magento 2 extension
Step 1 Manual installation Download the extension installation files here: https://github.com/tawk/tawk-magento-2/archive/master.zip Extract the tawk-magento-2-master folder from the package Copy the contents of tawk-magento-2-master folder to <magento-installation-root-folder>/app/code/Tawk/Widget folder of your website (create a new folder if necessary) Standard installation Be sure Composer is installed. You can install it by entering in your website root directory and executing this command: curl -sS https://getcomposer.org/installer | php When Composer… Continue reading Installing the tawk.to Magento 2 extension
How to upload file using AJAX and PHP
Create index.html file and put following contents into it Create a js file, you can name it main.js Create a PHP file, you can name it upload.php
Magento2: get custom customer attribute value
Custom attributes can also be obtained using getData() method. Below example fetches a customer custom attribute, custom_attribute_name, in an observer. }
Image convert to Base64
Sending file together with form data via ajax post
We need to acknowledge first is that we need to APPEND both Form Input Data and Form File(s) into a single FormData variable. Here is my solution in which I have enabled Multi File option so that this solution can fit for all examples. It is Important to include name attribute in the input controls to make it work properly on server side… Continue reading Sending file together with form data via ajax post
Magento2: get custom customer attribute value
How to Get Attribute Code using Attribute Id in Magento 2
Method 1 (Construct Method): Method 2 (Object Manager):