Today, let’s learn how to get a product from your Magento website by using the REST API and GraphQL. 1. Get A Product With REST API You can use a tool to access the API. In this situation, we will use Postman. We need to get the access token of the admin user to get a product.
Tiffany ClaireHow To Get A Product By REST API and GraphQL In Magento 2?
Nowadays, up to 60% of Magento 2 stores will have more than one language in order to approach a large number of potential customers worldwide. Fortunately, Magento 2 by default allows us to set up as many languages on the site as we want. In this blog post, we will show you how to create a
April LeeHow To Configure Different Languages For Magento 2 Websites?
In this tutorial, we will show you 7 easy steps to use Local Storage and 4 simple steps to utilize Cookie Storage in Magento 2. Let’s figure out now! A. Custom Local Storage Step 1: Create a module.xml file: app/code/Tigren/CustomStorage/etc/module.xml <?xml version=”1.0″ ?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Module/etc/module.xsd”> <module name=”Tigren_CustomStorage” setup_version=”1.0.0″/> </config> Step 2: Create Registration file of the Module:
April LeeHow To Use Custom Local Storage & Cookie Storage In Magento 2?
First of all, the product attributes might not be added to the flat table in Magento 2 since it lacks some methods: Magento\Eav\Model\Entity\Attribute\Source\Table. In this tutorial, we will help you to add missing products attributes with the source model to the flat table. Let’s get started! Step 1: Enable the flat catalog (Accessing your admin panel >
SamHow To Index Product Attributes With Source Model In Flat Table In Magento 2?
In order to increase customer experience in Magento 2 websites, many store owners want to change the order of the billing address in the checkout page. To be more specific, they want to move/ place the billing address right under the shipping address in the first step of checkout. As a result, the buyer can
TobyMagento 2: Placing Billing Address Right Under Shipping Address In Checkout
What Is Elasticsearch? We guess that most of us have heard about the Elasticsearch, but not everyone thoroughly understands what Elasticsearch is. Elasticsearch is a powerful open-source search and analytics engine using Apache Lucene. It is able to handle a large number of use cases, support multiple tenancies and full-text search on HTTP web interface.
TobyHow To Configure & Install Elasticsearch In Magento 2?
In today blog post, we will show you three easy-to-follow steps to add a custom validate field in your Magento 2 form. Let’s get started! Step 1: Add Custom Validate Method First, in the data-mage-init attribute, you must add a custom method named tigrenValidateMethod. <form class=”form contact” action=”<?= $block->escapeUrl($block->getFormAction()) ?>” id=”contact-form” method=”post” data-hasrequired=”<?= $block->escapeHtmlAttr(__(‘* Required
April LeeHow To Add Custom Validate Field In Magento 2 Form?
In this Magento 2 tutorial, we will show you five simple steps to add a contact form to your CMS page (e.g.: Contact us page) in Magento 2. Let’s get started! Step 1: Add new CMS Page Open your Magento 2 admin panel, navigate to CONTENT, select Pages (under Element), then click on Add New Page
TobyHow To Add Contact Form To CMS Page In Magento 2?
There are six simple steps to add the extension attribute to order in Magento 2: Step 1: Let’s create the extension_attributes.xml file First and foremost, you need to declare your extension attributes in one XML file: <!– etc/extension_attributes.xml –> <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Api/etc/extension_attributes.xsd”> <extension_attributes for=”Magento\Sales\Api\Data\OrderInterface”> <attribute code=”tigren_attribute” type=”Tigren\Example\Api\Data\TigrenAttributeInterface” /> </extension_attributes> </config> By this way, you are
TobyHow To Add Extension Attribute To Order In Magento 2?