In this tutorial, Today I will explain to how to set limit of query complexity and depth of graphql in Magento 2. Magento 2.3 has added GraphQL functionality. However, It will allow some queries that is not useful in your custom frontend query execution. To avoid that type execution, we can set limit of query complexity and depth level of…
Tag: how-to
How to Change Currency Position From Left to Right in Magento 2
In this tutorial, Today I will explain to how to change currency position in Magento 2. In many website, we need to change currency from left to right for whole website. By default, In Magento 2 it’s display left side. So, How to change currency position from left to right. Let’s follow the below steps for that. You may also…
Magento 2 : Specific Product Image Resize using Command Line
In this tutorial, Today I will explain to how to specific product image resize using command line in Magento 2. In Magento 2, They’re provide default commad for product image resize. When, we execute command it will resize whole Magento’s product images. But, during development time if you need to check specific product image resize then, how you need to…
Magento 2 : Create a Customer Attribute using Data Patches
In this tutorial, Today I will explain to how to create a customer attribute using data patches in Magento 2. From Magento 2.3.x, Magento brings new features which is data patches. The Data Patch is class that contains data notification instruction. Previously, Magento 2 uses InstallData and UpgradeData file use add data in core table or custom table. From Magento…
How to Fix Content Security Policy Warnings in Magento 2
In this blog, Today I will explain to how to fix content security policy warnings in Magento 2. From Magento 2.3.5 version, Magento introduce new feature to prevent cross site scripting and other related attacks called Content Security Policy. In Magento, Magento_Csp module is about content security policy. CSPs and built-in browser features help prevent : Loading a malicious script…
How to Call CMS Static Block in Magento 2 PWA
In this tutorial, Today I will explain to how to call cms static block in Magento 2 PWA. CMS Static Block is best way to manage your content with dynamically to display on Frontend side. It will be useful for promotional banner, offers banner etc. Now, if you created your PWA store with Magento then, you need to also use…
How to Add Custom Top Link in Magento 2 PWA
In this tutorial, Today I will explain to how to add custom top link in Magento 2 PWA. Magento 2 PWA venia theme provide some menus items in top links. But, You want to add custom top links then, you need to customize some points to add custom top links. You may also like this : Magento 2.3 PWA Installation…
How to Create Popup Modal in Magento 2
In this tutorial, Today I will explain to how to create popup modal in Magento 2. In Magento 2, Modal popup is generally used for promoting or advertise some products or news of the website. It will helpful for display short details of the full information. For the create popup modal, you need to follow below steps : You may…
How to Add Lazy Loading to Page Builder Images in Magento 2
In this tutorial, Today I will explain to how to add lazy loading to page builder images in Magento 2. From Magento 2.4.3, Page builder will be available for open source community. When you will be create page using page builder and upload image on that page at that time, by default lazy loading is missing in page builder. So,…
How to Exclude Specific File from JS Bundling in Magento 2
In this tutorial, Today I will explain to how to exclude specific file from JS Bundling in Magento 2. In Magento 2, to reduce number of Javascript file request, This bundling feature is available. It will be merge all JS file into one JS file and execute that only 1 JS file. Now, If you want to exclude specific JS…