For each product could be possible to set the price level in magento2. It is called tire prices. If need to get a product tire price based on the customer. We could use this method Here we are fetching the tire price based on the customer. Thank you.
Category: Magento
The observer function on the new invoice is registered
If we have any kind of action needed to perform when an invoice is completed. So for this, we can use the observer function to identify the action of voice placed and we could implement the functionality based on that. For that create an events.xml Create an observer function here can perform the functionality to… Continue reading The observer function on the new invoice is registered
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.
How to add observer to customer edited details.
Create a custom module n the code folder,here we are going to override the EDITPOST file from the magento-customer/controller/account . EditPost.php here added first name and last name to the event dispatch Here my vendor name is JJ and module name is Customerupdate di.xml for the module etc/frontend events.xml Observer folder contains EDITCUSTOMER.php
How to Configure Swatches in Magento 2
Go to Stores – Attributes – Product and click on the Color Attribute option. From here, you can configure all the available color swatch settings: Catalog Input Type for Store Owner — allows you to define the input type. You can select from the Dropdown Menu, Visual Swatch and Text Swatch. Update Product Preview Image — updates the product… Continue reading How to Configure Swatches in Magento 2
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 add Magento 2 configurable product price?
All has changed in Magento 2. After you create Magento 2 configurable product, it doesn’t calculate price mark-ups coming from a simple product super attribute. Now configurable Magento product price is ignored and the simple product price is taken into consideration. In so doing, each child product has its price, which is shown on the… Continue reading How to add Magento 2 configurable product price?
Adding custom fields to customer Registration form
Create a Vendor and Module folder in app/code. Here an example of vendor name : JJ and module name : Customer to add a custom input field for Phone Number This is added to get the custom field in the customer create and customer edit pages. registration.php : Setup / Installdata.php Etc/module.xml view/frontend/layout/default.xml view/frontend/templates/additional.phtml Here… Continue reading Adding custom fields to customer Registration form
BASICS OF REST API
What is a REST API? An API, or application programming interface, is a set of rules that define how applications or devices can connect to and communicate with each other. A REST API is an API that conforms to the design principles of the REST, or representational state transfer architectural style. For this reason, REST APIs are sometimes… Continue reading BASICS OF REST API
Check the saleable quantity of a product in Magento2
To check whether the item is available or not for the purchase. In Magento, the quantity is always remain the same when we purchase an item from the website. But the saleable quantity count will be reduced based on the purchase of the product. So in the case of checking the available quantity of a… Continue reading Check the saleable quantity of a product in Magento2