How to resolve the error of Invalid block type does not exists
I have faced this issue and after scratching my mind for hours i have found a solution. The Exception could look like : You can resolve it via Database. Just go the table layout_update and find for the class “Magesan\Extension\Block\Widget\Wrapper” in the column of xml Once you have found it. Just delete it. The error
How to know if customer already have product in wishlist at product view page in magento 2
By default magento isn’t provide you the facility to check if product already in wishlist or not. But if you want rich feature to your site. This is one of the feature you can use. Here, we are going to add active class based on product. Before we proceed, Make sure you have a bit
Invalid template file: ‘Vendor_Module::info/default.phtml’
Invalid template file: ‘Vendor_Module::info/default.phtml’ in module: ‘Vendor_Module’ block’s name: ‘info_0’ If you are facing this issue then the issue is with your payment method. You need to check what payment has been set for a particular order or invoice. In my case I was also facing the same error and after scratching my mind for
Graphql for unsubscribing newsletter.
In magento 2 we have graphql for only subscribing to a newsletter. We don’t have an unsubscribe newsletter or can say magento doesn’t provide graphql for unsubscribe newsletter. Here we come with a solution to create a graphql for unsubscribing newsletter. You need to create a schema.graphqls file at The schema.graphqls file will contains :
Create select attribute in edit form and assign product attribute value to it.
In Form.php In RegionAttribute.php at path Magesan\Extension\Model\Config\Source\ Happy Coding…
How to install Magento 2 in local using xampp.
Let’s download xampp from the link : https://www.apachefriends.org/download.html After download. Please Install it by clicking next button and choosing the right path to install. After Installation successfull. You need to open Apache control which look like given below image and need to Enable the services of Apache and MySql by clicking on Start button from
How to make clickable link on admin grid in Magento 2
You need to add bodyTmpl path will be ui/grid/cells/html. This line of code is responsible for to act like as a html. Two ways to do : 1) : bodyTmpl to add via column Full code of below to get an example of how you can add bodyTml in you ui component xml file. 2)
How to create Grid in admin in Magento 2
Magento 2 provides such functionality to add and save data by creating menus and to see data in Grid. I will teach you today with basic to high of creating module and to add the things in grid. First of all we need to create extension : Magesan_AdminGrid registration.php At Path app/code/Magesan/AdminGrid/registration.php module.xml At Path
How to create table via patch in Magento 2
We are going to create table via patch now. You need to create a file at app/code/Magesan/Extension/Setup/Patch/Schema/SetupTableViaPatch.php Happy Coding…