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
0 answers
10 views

Magento2 Order email missing custom variable values for first time & when I send email from admin it shows values

Magento2 Order email missing custom variable values for first time & when I send email from admin it shows values Basically this custom variable values are the order attributes. I have used this ...
Arjun's user avatar
  • 3,526
0 votes
0 answers
19 views

magento-cloud: Authentication is required. Unable to login via browser

I'm encountering an issue while trying to log in via my web browser. When I attempt to sign in, I'm presented with the following screen: Login Screen Error I'm also looking for guidance on how to ...
Ntiyiso Rikhotso's user avatar
0 votes
0 answers
14 views

Ebizmart Mailchimp Interest Group Issue

I'm using Magento2 and I installed the module Ebizmarts_MailChimp in my local and setup using the MailChimp account. Everything is working fine except that when I add a group interest on an account ...
Ricky Aldea's user avatar
0 votes
1 answer
22 views

custom widget to retrive price

I am new to this Magento platform. I want to create a custom widget to retrieve the price so that I can use it just by calling the widget on the front page. May anyone help me?
Biju's user avatar
  • 1
0 votes
1 answer
35 views

How to prevent user sending requests frequently?

I believe it can be done with a PHP controller or JS cookie manipulation. Help me with logic. For example, I want a user to send a request once every 2 minutes. Let's pretend I've implemented some ...
Dramorian's user avatar
0 votes
1 answer
33 views

Magento 2 Reset Password Confirmation email templete link url not generate properly

Error Screenshot : https://i.imgur.com/SIAjq0C.png <!--@subject {{trans "Reset your %store_name password" store_name=$store.frontend_name}} @--> <!--@vars { "var store....
Keval Chauhan's user avatar
0 votes
0 answers
10 views

In Magento 2 :- How to give return functionality of rma-graphql module for guest users

I want to give the return functionality for the guest users in rma-graphql default module. Also, I want to revoke the customer access token for the guest users in rma-graphql default module. If anyone ...
Amarnath Chauhan's user avatar
0 votes
0 answers
25 views

Trying to access array offset on value of type int in /vendor/magento/framework/Session/Validator.php on line 132

Sometimes we get this type of error in production mode my System info: Magento ver. 2.4.6-p1 Php Ver. 8.1 MariaDB 10.6 Report file(ba7302309568648563df8f4293486858d9b2cccd6e8c5a1a5b1398afd1cd5c3f) ...
Prakash saran's user avatar
0 votes
1 answer
44 views

Facing an issue in PDP page in content in Magento 2

I am getting the below error in console in Magento 2 for js and also due to that my details and review tabs overlap with each other. Can anyone knows how to debug this js.
Mitul Vadalia's user avatar
0 votes
0 answers
22 views

Change Configurable Product Name to Simple Name in Minicart & Cart

Over the past few days I have been trying to change the Product Name in the Minicart & Cart. I have a configurable product with two child simple products. When I select an option and add to cart, ...
Chris Oliver's user avatar
0 votes
1 answer
14 views

What are the native cookies Magento has?

What's the list of out-of-the-box cookies on Magento OpenSource and Adobe Commerce Cloud?
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
35 views

check condition in foreach loop with dynamic variable in knockout js

I have html file at the path /var/www/html/nelson-avnet-app/code/vendor/module/view/frontend/web/template/shipping-address/list.html <!-- ko if: (visible)--> <div class="field addresses&...
divyang asodiya's user avatar
0 votes
0 answers
17 views

How I can reference default magento tables regardless the prefix?

In my schema.xml I defined a table: <?xml version="1.0"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
Dimitrios Desyllas's user avatar
0 votes
1 answer
42 views

Magento 2 : Exception Error Depricated Functionality Return type

I am using magento version 2.4.2 and php version 7.4.3 I am trying to run the project locally, getting the below error: Exception: Deprecated Functionality: Return type of Magento\Framework\Config\...
Prince's user avatar
  • 123
0 votes
0 answers
42 views

Magento 2 - Add two custom attributes to customer in a new section

In a Magento 2 (2.4.5) instance, I created a new section in CUSTOMER > CUSTOMER INFORMATION, after "Customer View" (thanks to the tutorial of @rakeshjesadiya https://www.rakeshjesadiya....
Samuele's user avatar
0 votes
0 answers
18 views

Add dynamic rows to bundle selections

For each selection in a bundle option, I need to add a dynamic row with fields image and mapping id. Currently I've managed to add them with a plugin with afterModifyMeta on class Magento\Bundle\Ui\...
Sondre's user avatar
  • 343
0 votes
1 answer
52 views

Magento 2.4.3-p1, order out-of-stock product in list.phtml

I need to apply out-of-stock products at the end of the page. How to set an order? ->add Attribute To Sort('is_in_stock', 'DESC') or ->order('is_in_stock DESC') DIR: MAGENTO\app\design\frontend\...
Bruno Depieri Barduchi's user avatar
0 votes
1 answer
32 views

How to add billing Country_id from sales_order_adress in Email Template

I am using Magento Version 2.4.5, I want to specifically add the country_id (e.g. FR for France) in the order email template. The variable with the Billing address only returns the full address block....
JkCasi's user avatar
  • 1
0 votes
0 answers
27 views

Error: MercadoPago.js - CardForm is not mounted

I've installed "mercadopago/magento2-plugin" on Magento 2.4.6 and managed to complete purchase flows with test users. However, when I apply a discount coupon in the second step of the ...
karli's user avatar
  • 1
0 votes
0 answers
21 views

Passing Configurable URL With Simple Product

I have a module setup for Magento 2.4.6 which replaces the product name of a configurable with the simple product selected. It replaces this in the minicart & cart. It works fine except that the ...
Chris Oliver's user avatar
0 votes
0 answers
17 views

Too many CSP Whitelist headers

I am getting errors on CSP_Whitelist headers in an apache2.4 environment. Apparently, there are too many of them, And I can't say which ones are more important than others. Is there a way to determine ...
Jo-Anne's user avatar
  • 43
0 votes
0 answers
12 views

Open main menu on click and subcategories on hover

After magento upgrading to 2.4.5-p3 this doesn't work anymore. I want customers to be able to open the main menu on click and then continue to navigate the subcategories (and sub-sub categories) via ...
mullayo's user avatar
  • 23
0 votes
0 answers
21 views

How I can seed a user with a quote?

I am developing a functionality where I need a user with quoted. But for development speed I want to create via command-line a single user with 2 quotes for a specific website. Is there a tool that ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
19 views

Magento 2 Elasticsearch index failing - We can't find products matching the selection

I have an issue with products disappearing on my Magento stores, it happens randomly and reindexing will sort the issue but restarting the docker image wont. The only error I can see is {main} {"...
miller75's user avatar
  • 389
0 votes
1 answer
17 views

How I can create an active client user with custom password for development?

For magento development I need to create an active user with custom password via cli. I want this user to be already active and not waiting for password activation. The user I want to be a client. And ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
29 views

SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition magento2

I am getting the below error when i trying to run setup upgrade command. SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it ...
Prince's user avatar
  • 123
0 votes
0 answers
25 views

Magento2 ElasticSearch product attribute weight based on value

If there is a way to set product attribute weight depending on it's value? F.e. we have 2 attributes to search: name(weight=10) and description(weight=1) So in search results we'll have first results ...
Alexey Uvarov's user avatar
0 votes
1 answer
28 views

disable a cash on delivery payment method on the checkout for specific products

I want to disable a cash on delivery payment method on the checkout for specific products I followed the code in this question Disable Payment Method at Checkout in Magento 2 Based on Product ...
Ibrahim's user avatar
0 votes
1 answer
53 views

In which table are images stored in db?

For each product I want to know the local image path. I want to make a script and make my own images from an existing installation in my computer. Is there a way to do it? For my local development ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
22 views

Magento 2 - how to remove navigation menu linkage for tabs

In my default magento theme for desktop on hovering on the menu, sub-menu is opening. But in tabs when clicking on menu, menu is opening but its also redirecting to main navigation link. expected ...
Mani's user avatar
  • 173
0 votes
1 answer
65 views

How to render default Magento registration form in popup?

I have a button "Registration for dealer" on customer/account/create/ page that outputs a popup. My goal is to render in the popup the default customer registration form that's fully ...
Dramorian's user avatar
0 votes
1 answer
39 views

sorting settings not displayed

I have Magento 2.4.4 but the sorting settings are not displayed! I don't see that in the screenshot...
tricksi's user avatar
  • 35
0 votes
0 answers
17 views

Is it possible to integrate htmx in Magento 2

Does anybody try to use htmx in magento context ? As I know it's need to connect external js lib in order to use htmx, does any conflicts appears in magento when you will use this lib ? Advantages and ...
Pavlo Bezuhlij's user avatar
0 votes
0 answers
18 views

How I can have a healthcheck command to test if connectivity to db and external services (redis,elasticsearch) work?

In my magento setup I want to be able to check whether magento is able to connect into the specified services such as db etc etc... Is there a command similar like: php bin/magento healthcheck That ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
25 views

magento 2 How to store Customer Address custom attribute value quote_address table column

I have created customer address type custom attribute and it's value store as custom attribute now I want to store this value on quote address column. I have create observer ...
Keval Chauhan's user avatar
0 votes
1 answer
13 views

Magento 2 Pagination Urls changing from ?p= to &p=

For some strange reason, despite not running any recent updates, our pagination links have broken on all categories. So they are occuring as &p=2 rather than ?p=2. The link still works if you ...
user2099163's user avatar
0 votes
3 answers
172 views

Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type

I've recently upgraded my Magento 2 store from version 2.4.1 to 2.4.3. However, I'm encountering issues when running the catalog search, And I'm receiving the following error message: main.CRITICAL: {...
Zeck's user avatar
  • 3
0 votes
1 answer
27 views

Magento2 catalog product edit related

I am trying to override Related in the product edit to remove it but it does not work In my file etc/adminhtml/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
Boll's user avatar
  • 157
0 votes
1 answer
22 views

Magento2 file could not be downloaded: Failed to open stream: Network is unreachable

The "http://repo.packagist.org/p/paypal/module-braintree-graph-ql%245690cb72028a8444b0f87c92557cb7e772f5e673c323118e1a18304afae1eb14.json" file could not be downloaded: Failed to open ...
Arjun's user avatar
  • 3,526
0 votes
1 answer
26 views

Magento2 display 502

Translation: Recently, my Magento 2.4 website keeps showing a 502 error. I have checked the Nginx server and it seems to be working fine. I also have error logs for PHP. ready to handle connections [...
sq y's user avatar
  • 95
0 votes
1 answer
43 views

Unable to access magento on local machine

I'm installing a magento on my local ubuntu vm to play around with it. I have successfully installed it but accessing it with local domain is not working. I have added xyz.com as local domain in the ...
Ye Myat Aung's user avatar
0 votes
0 answers
31 views

Magento Auto fill opengraph description using seo meta description

I have a opengraph module installed. we have two product eav attributes og_title and og_desc. When I am adding a new product, i want og_title field to be autofilled to product title and og_desc to be ...
Legred Vaz's user avatar
0 votes
0 answers
26 views

Magento2: How to execute Cron in non-root container on Kuberentes?

I've used the Bitnami Magento Helm chart to install Magento 2 on the Kubernetes cluster. By default, the pod and the container are configured not to use root users which is good from a security point ...
Soron's user avatar
  • 1
0 votes
2 answers
69 views

Extend Magento2 GraphQl Product Query?

I want to add product FAQS along with product query but getting the error when i query product with CustomizableProductInterface "message": "Fragment cannot be spread here as objects of ...
Syed Hassan Zamir's user avatar
0 votes
0 answers
56 views

Magento 2 How to create Custom Field on Customer Address form and save it's value

I want to create custom field on Customer address form as per below screenshot currently I create field but did not save it's value. I have create field using three point: Create Customer_address ...
Keval Chauhan's user avatar
0 votes
0 answers
18 views

How I can clone a magento2 website settings (catalog, and stores) if I have the code in a git repo?

I havbe my magento website in a git repo. And for local development I try to replicate the production environment into my own setup with different domain. I manged to have basic php running but I ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
25 views

REST API - probe error

how to get orders that are older than 1 hour from the current time. When I type NOW() -60, I get an internal error, log file never existed.
David Novák's user avatar
0 votes
1 answer
34 views

How to Use Customer Address template (set address in Customer Address Template )?

Thank you in Advance I want to use customer address template to show customer template in format but I don't know how to do this ? You can find this configuration :- Store > Configuration > ...
Bhagyesh Bhalodiya's user avatar
0 votes
0 answers
33 views

prevent unwanted search terms in magento 2

I having some issue with some search term which shows the result with unwanted scripts. So how can I prevent the search term so that it does not show unwanted results? May anyone help me?
Ayush's user avatar
  • 101
0 votes
1 answer
30 views

Magento 2 - Minify CSS and JS in pub/static folder not updating in browser

I have activated the minify and merged option for the CSS and JS files for better site performance, but recently I have had problems, after deploying and cleaning cache in both varnish and the ...
Diego Castro's user avatar

1
2 3 4 5
951