Skip to content

magento man

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

Magento 2 – Access to XMLHttpRequest – /adminhtml/Magento/spectrum/en_US/js-translation.json has been blocked

Currently we are using magento 2.4.6-p6, we are recently noticing below issue in the console, while opening the cms blocks / cms pages from admin. Access to XMLHttpRequest at ‘https://website.com/static/version1721183017/adminhtml/Magento/spectrum/en_US/js-translation.json’ from origin ‘null’ has been blocked by CORS policy: Response… Read More »Magento 2 – Access to XMLHttpRequest – /adminhtml/Magento/spectrum/en_US/js-translation.json has been blocked