Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Redirecting to /pub/setup after migration

I recently moved my Magento shop to new VPS from hostinger, what i did is: Copied all the folders and files from public_html and pasted to VPS on a domain public_html directory as it is. Exported and ...
Vipesol Technologies's user avatar
0 votes
1 answer
35 views

How to save the parameters from the URL address of the product landing page to the order table With Magento2.3.4

I have many landing pages for products and product categories. These landing pages are promoted on Facebook, and when users click on the address, they are directed to our website. The URL address ...
sq y's user avatar
  • 95
0 votes
1 answer
42 views

Export Button in sales order grid Magento 2

I've included the following code in sales_order_grid.xml, but it's triggering a form key error. My goal is to export data to a text file. Could you please advise on how to accomplish this? Do I need ...
Denish Vachhani's user avatar
0 votes
0 answers
31 views

Google tag manager on Magento2 - Double GTAG ID on my site

I'm facing a particular problem with google tag manager. In the error console the browser gives me this type of error: GET https://www.googletagmanager.com/gtag/js?id=G-1XXXXXXX&l=dataLayer&cx=...
Jackom's user avatar
  • 421
0 votes
1 answer
22 views

Magento Api Calls return a void object

I'm developing headless e-commerce using Vuejs and Magento. But I'm facing an issue during the API calls to retrieve products in categories. It returns a void list. May someone help me?
NecktieWebAgency's user avatar
0 votes
0 answers
20 views

How to Bundle products based on customer selection?

What is the best approach to achieve a step-by-step walkthrough experience, prompting customers to select items from 3 categories and sell them as a bundle with a single dynamic price during checkout? ...
Nxlevel's user avatar
  • 407
0 votes
0 answers
15 views

Make a watermark a percentage of the original image size?

Magento 2 uses fixed pixel dimensions to specify the size of the product image watermark. This is a problem as the watermark could look very small or very big on the product image, depending on the ...
Nick's user avatar
  • 121
0 votes
0 answers
10 views

How can I catch more detailed information about a reindexing error or when reindexing is stuck?

The size of the catalog is about 70k products. When reindexing sometimes it turns out Could not acquire lock for index:catalog_category_product and Could not acquire lock for index:...
Robinio's user avatar
  • 749
0 votes
0 answers
29 views

Failed to load the "Magento_Tax/checkout/shipping_method/price" template

Showing an error after upgrading the site to Magento 2.4.6-p2 Failed to load the "Magento_Tax/checkout/shipping_method/price" template requested by "checkout.steps.shipping-step....
Pratik Kamani's user avatar
0 votes
0 answers
25 views

Has Magento ever changed the way they test for URL Key conflicts?

I have a client whose site often contains a category (and sometimes additional sub-categories) and a product with the same name and URL key, which I am aware is unusual. They recently complained that ...
RichardB's user avatar
  • 325
0 votes
0 answers
11 views

How to change the error message content and it need to show in pop

While clicking the "Place Order" button, an address related error message showing. How to change this error message content? Here we are using one page checkout module in magento2.4. Also I ...
saravankg's user avatar
0 votes
0 answers
20 views

Magento 2 DB Locks

I'm running Magento 2 and since a recent upgrade my DB seems to be having DB locks quite a lot, yesterday it happened at least 3 times, my developers are unable to find the source of the problem and ...
Sparetoolparts's user avatar
0 votes
2 answers
35 views

How we can get extension attribute of product in GraphQL Magento 2

I want Stock_id in graphql. We can get this via REST API but I need this in graphql. Can anyone help me with this? Please refer to the attached link and screenshot here I really appreciate any help ...
Ila Makwana's user avatar
0 votes
0 answers
23 views

Magento 1 had a "reviews detail" page - but Magento 2 doesn't?

I'm moving from magento 1 to magento 2 and I have noticed that Magento 2 doens't have a "reviews detail" page? What I mean is that in Magento 1, you could go to the reviews tab and then I ...
loginid's user avatar
  • 392
0 votes
2 answers
19 views

Can't seem to clean static files cache manually

i'm very new in magento2 and i'm following the official docs. I'm playing around trying to change some css styles in the homepage but i seem to have issues with clearing the static files cache ...
queercoded's user avatar
0 votes
0 answers
23 views

Undefined array key "inventory_source"

I'm getting the following error while running the setup upgrade command php bin/magento setup:upgrade Warning: Undefined array key "inventory_source" in /vendor/magento/framework/Setup/...
OneBelowZero's user avatar
0 votes
1 answer
19 views

How to get ordered product CGST, SGST & IGST from order in magento 2

how to get this amount? I try - foreach ($_order->getAllVisibleItems() as $item) { $productId = $item->getProductId(); $productName = $item->getName(); $productSku = $item->getSku(); $...
Rubel Parvaz's user avatar
0 votes
0 answers
47 views

Show custom attribute of selected child item instead of their parent in product details page in Magento 2

How can i Show custom attribute of selected child item instead of parent/ConfigurableProduct attribute value in product details page in Magento 2 Parent/Configurable product: Here Child Product ...
matinict's user avatar
  • 1,500
-1 votes
1 answer
41 views

Run Magento 2.4.6 from windows + PHP Storm

Im just checkout project from: https://github.com/magento/magento2 How to run directly Magento website from source code by PHP Storm? Im using windows 11.
Suro's user avatar
  • 1
0 votes
1 answer
24 views

Magento2 update custom column value in sales order grid table

Magento2 I have added custom column in sales_order. I am updating its value via CRON but how can I use same value in sales_order_grid Below code is use to update sales_order $order = $this->...
Arjun's user avatar
  • 3,526
0 votes
0 answers
26 views

order confirmation email not sent in magento CE 2.4.5-p1 when placed on Front-End

But, order confirmation email is sent when placed on Back-End. Note: all other emails are sent as expected (processing, updates, etc..)
RoboxFuze's user avatar
0 votes
0 answers
39 views

“undefined” Appended to URL Causing 404 Page Not Found Error

I need a help regarding http request or ajax call, I am trying to open forgot password page in popup,I have loaded widget model popup and it is working as expected. Now I am trying to reset password, ...
user73267's user avatar
  • 173
0 votes
1 answer
86 views

Magento2: How to get customer zip code based on the customer location (Guest Users)

I would like to get the customer zip code based on the customer location (Guest Users) Please let me know if anyone has an idea how to get it done. Thank You
Suresh Chikani's user avatar
2 votes
0 answers
89 views

Update layer navigation filter with the proper custom collection

Goal : Create a /test/index/index route that will load a product listing page with a custom collection. Expectation : The custom collection printed in listing and the filters must be properly defined ...
Claims's user avatar
  • 944
0 votes
1 answer
54 views

Magento 2 : Missing field "image" in google search console

After successful crawled, am seeing Missing field "Image" issue for all PDP pages in the Google search console. I do have all images for Products in my site. How can i fix this issue. do we ...
Mani's user avatar
  • 173
0 votes
0 answers
43 views

Magento2: Remove cache part from media url when using remote S3 storage

I migrated Magento 2 (version 2.4.6 deployed via Helm chart on Kubernetes) media folder to an AWS S3 bucket following the instructions from this documentation: https://experienceleague.adobe.com/docs/...
Soron's user avatar
  • 1
0 votes
1 answer
30 views

Frontend: Website / Shop Access Restricted To Registered Users

I am planning to create a multisite Magento store that may only be accessible to B2B customers. The users and user groups should be created via the backend, a registration via the frontend is not ...
Pixelrocker's user avatar
0 votes
0 answers
25 views

Magento 2.4 Error on front and admin panel No mapping found for position_category

I get error when I open admin panel of Magento 2.4 BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"...
Quicksdk's user avatar
1 vote
1 answer
20 views

When a MSI reservation is compensated?

I see in my reservation table some products' stocks have been compensated when it's invoiced and some when it's shipped. I ran the CLI commands below, and I don't see any inconsistencies. php -d ...
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
29 views

I Want to validate condition rule on category page products in magento 2

Here is my Code public function checkCondition() { $categoryId = $this->getRequest()->getParam('id'); $ruleColl = $this->customConditionModel->create()->getCollection(); ...
user113223's user avatar
0 votes
1 answer
20 views

Getting an EAV option's value (eav_attribute_option_value) instead of ID when fetching products using GraphQL

I should preface this by saying I know nothing about Magento 2 development, and barely anything about GraphQL, yet I've been added to this project so I have to learn both of them at the same time. I'...
Alex's user avatar
  • 101
0 votes
1 answer
64 views

Magento 2: How to add custom attributes to Customer group?

I want to add a custom attribute(image upload) here on customer groups. I have searched a lot. can anyone help me about that?
Amiyo Ghosh's user avatar
0 votes
1 answer
30 views

get the value from quote_item_option table (info_buyRequest) in GetCartDetails graphql Magento 2

How can we get info_buyrequest value using customer cart graphql magento2? Any suggestions
Ila Makwana's user avatar
0 votes
1 answer
34 views

When Email was sent to emai[email protected] but it said it was from service@paypal need to resolve

I created an account on Magento for a new employee Sam, And a notification email was sent to [email protected], But it said it was from [email protected] I tried to check logs worked fine on the dev ...
user113449's user avatar
1 vote
1 answer
38 views

Magento 2 How to override configurable.phml file in custom module

I have tried below way to override configurable.phtml file /app/code/Vendor/Extension/view/frontend/layout/catalog_product_view_type_configurable.xml https://i.imgur.com/gpII3Ct.png But it did not ...
Keval Chauhan's user avatar
0 votes
0 answers
20 views

I want to show my product video in the first position in carousel

I want to show a video of the product in the first position from the carousel. When the user clicks on the product If the product contains video in the carousel slider. How can I achieve this?
tehwain99's user avatar
0 votes
0 answers
15 views

Magento2 reset password token not in readable code form

Magento2 how to convert resed password toke to readable format In M2.3 do you now how was this rp token string getting converted to code that we enter {{trans "your reset token :%token" ...
Arjun's user avatar
  • 3,526
0 votes
0 answers
10 views

Sebwite category side bar Link showing error 404

I installed the Sebwite side-bar category extension successfully for the project, I'm currently working on and it is showing perfectly on the front end. I created a separate root category for the ...
Adex's user avatar
  • 15
0 votes
0 answers
16 views

'?))' at line 2, query was: SELECT `e`.`entity_id` FROM `catalog_product_super_link` AS `l`

Trying a new shipment module and just upgraded to the latest version of magento open source. When I want to use this module I get an error and see this in my debug log. I have searched but this error ...
Sander van Zuidam's user avatar
0 votes
0 answers
33 views

Unable to run Magento site on nginx

Using Debian 11, I installed PHP 8.1, PHP-FPM 8.1, Mysql 8, NGINX, Elasticsearch, Magento2 via composer. Now I am able to see the localhost welcome Nginx page and I cant navigate to Magento site. I ...
Leo's user avatar
  • 1
0 votes
0 answers
15 views

"Cannot query field \"getProductBySku\" on type \"Query\".",

I am creating my custom query in GraphQl and getting this error i searched alot but couldnot resolve my errors by the solutions given My schema.graphq type Query { getProductBySku(sku: String!): ...
Syed Hassan Zamir's user avatar
2 votes
1 answer
28 views

Magento 2 Call catalog_product_price.xml file for specific type product

I create one layout file catalog_product_prices.xml file and using this file bind one phtml file so, this phtml file calls every type of product like bundle, group, and simple. My need is to call this ...
Keval Chauhan's user avatar
0 votes
2 answers
39 views

Applying Patches

In applying patches, If the provided zip file for the patch contains enterprise and open-source patches, should you apply both? or should you just apply the one same with your repo?
Ricky Aldea's user avatar
0 votes
0 answers
17 views

Do magento2 natively support reCaptcha enterprise? How many effort to implement it?If there is third-party support available, could you recommend any?

I search on the offical document (https://experienceleague.adobe.com/docs/commerce-admin/systems/security/captcha/security-google-recaptcha.html) It just say about reCaptcha V2 and reCaptcha V3, none ...
Pham Hoa's user avatar
0 votes
3 answers
80 views

Magento 2 success page error

I'm using magento 2, upgraded to the last version 2.4.6-p2, and I'm having an issue with the success page, but not with all payment methods... What I get in the success page is: 1 exception(s): ...
Nunes Leonel's user avatar
0 votes
0 answers
14 views

Magento 2: Add custom value to $parent in checkout summary

I want to add a custom value to the items in the order summary during checkout ($parent). I followed all the other howtos on how to do it: Create plugin for Magento\Checkout\Model\...
omsta's user avatar
  • 672
0 votes
2 answers
34 views

Magneto 2 logs me out automaticaly

I'm running Magento 2.4.4. I'm facing a bit of an issue with Magento 2 backend – it keeps booting me out when I'm working with multiple tabs. To put it simply, I'm tinkering with a few item cards ...
PawelP's user avatar
  • 11
0 votes
1 answer
23 views

magento 2 admin create and download csv file and loading problem

Please loading issue solve. I try to reload or redirect but that is not working. $resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT); $resultRedirect->...
Rubel Parvaz's user avatar
0 votes
2 answers
85 views

PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in

PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in "PREPAID_TAXABLE_AMOUNT"=> (($item->getDiscountAmount()) ? abs( round($item->...
Arjun's user avatar
  • 3,526
0 votes
1 answer
21 views

The shipping method is missing. Select the shipping method and try again. Magento2. Flat rate. Stuck at checkout

Im stuck at checkout/#shipping with The shipping method is missing. Select the shipping method and try again. I've configured the flat rate shipping method and its not showing up in the page. Image ...
Ameer's user avatar
  • 1