Skip to content

Graphql module not working properly in magento 2

I created the module schema.graphqls #Magento Customer GraphQl Schema type Query { testcustomer: Testcustomer @resolver(class: “Graphql\CrudOperations\Model\Resolver\StudentList”) @doc(description: “The testcustomer query returns information about a customer”) } type Testcustomer @doc(description: “Testcustomer defines the customer name and other details”) { student_id: Int… Read More »Graphql module not working properly in magento 2

How to install Magento so the store displays on my domain root in shared hosting?

I’m trying to install Magento Open Source on my shared hosting server and want the store to display when I visit my domain. I used the following command: bin/magento setup:install –base-url=https://mydomain.com/ –db-host=localhost –db-name=magento –db-user=magento –db-password=magento_password –admin-firstname=admin –admin-lastname=admin –[email protected] –admin-user=admin –admin-password=admin123… Read More »How to install Magento so the store displays on my domain root in shared hosting?

How to make oauth request using guzzlehttp

I am trying to connect two magento2 instances through REST API. I have already created Endpoints. I am using GuzzleHttpClient to make request. How to implement Oauth Using guzzlehttp. Any other solutions also fine.

Magento 2: Nginx Rewrite Rule for Updated Media Base URL

I recently updated my media base URL to {{unsecure_base_url}}media/version1234567/. While attempting to create a rewrite rule in Nginx, I’ve encountered some difficulties. For a single URL, I used the following configuration which works as expected: location = /media/version1234567/wysiwyg/banners/WebsiteBanners2/HomePageBanners/Snom_Web_May_HP.png { return… Read More »Magento 2: Nginx Rewrite Rule for Updated Media Base URL

Magento 2.4.6: Creat admin product edit form button with modal and ajax submission

Magento 2.4.6-p6 I am trying to create a button on Product edit form which can translate one store product attribute data and store into another store attribute data. ‘Vendor/ModuleName/view/adminhtml/ui_component/product_form.xml‘ <?xml version=”1.0″ encoding=”UTF-8″?> <!– /** * Copyright © Magento, Inc. All… Read More »Magento 2.4.6: Creat admin product edit form button with modal and ajax submission