All Questions

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

GraphQL Authorization - How do I know if it is working?

I have a locally-hosted instance of Magento and am testing out the GraphQL capabilities using postman. I understand that I need to pass the access token via the Authorization header as a bearer token. ...
Steve Driscoll's user avatar
0 votes
0 answers
15 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
0 answers
9 views

How to add billing Country_id from sales_order_adress in Email Template

i want to specifically add the country_id (e.g. FR for France) in the order mail template. The variable with the Billing Adress only returns the full adress block. Is there a way to solve this? ...
JkCasi's user avatar
  • 1
0 votes
3 answers
28 views

How to remove 'Create New Order' button from sales order grid

How can I remove 'Create New Order' button from sales order grid? I don't want to hide it, i know about following code <item name="style" xsi:type="string">display:none</...
Hiren's user avatar
  • 1,079
0 votes
1 answer
21 views

Migration SQL ERROR 1062 (23000) Duplicate entry 'NULL'

I'm trying to move a live site to a dev server. Export SQL has been done with phpmyadmin. When importing via CLI; mysql -u "user" -p "name_new_database" < bupsqlfile.sql I get ...
bcnmm's user avatar
  • 21
0 votes
0 answers
19 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
16 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
14 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
1 answer
17 views

Cart price rules problem

Strange behaviour cart price rules. Situation: I have set price rules for free delivery above some price and its working more or less Let assume that I have different 3 products, different prices. ...
Petka's user avatar
  • 1
0 votes
0 answers
9 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
1 answer
36 views

Magento 2.4.6p2 graphql customer token

I have a multi site Magento installation we do not share login per website. We have 2 websites under the same domain each with separate store views. If you create and account on the second store view ...
Juliano Vargas's user avatar
0 votes
0 answers
19 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
15 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
23 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
1 answer
31 views

What are reccomended approaches to patch old magento versions into modern php?

I maintain a project in 2.3.5-p2 and for security reasons I want to use much more modern php version. An issue with that are that dependencies may use older signatures for the php core functions. What ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
21 views

Unusual Behavior in Magento 2.4.4 Commerce: Editable Address Gets Added as New Data After Successful Checkout

I am investigating a bug that is occurring in a Magento 2.4.4 Commerce project. The bug occurs when the following steps are performed: Editing an address on my profile page. Checking out by selecting ...
Mohd Farhan Bin Ramli's user avatar
0 votes
0 answers
23 views

OrderAfterSave send additonal emails

I'm trying to sent out addtional emails after a customer has placed an order. These additional emails will be sent from configurable email adressess and templates. It is part of a custom payment ...
Dennis van der Graaf's user avatar
0 votes
0 answers
21 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
13 views

Docker exec display the wrong $PATH in non-interactive command [closed]

Why is it that when I execute a non-interactive command using the following syntax: docker exec -t flexsite /bin/bash -c "echo ${PATH}" it displays the path from my host operating system? ...
Ner's user avatar
  • 1,061
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
51 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
21 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
61 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
15 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
17 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
0 answers
15 views

Magento Cloud Docker 2.4.6-p2 on ./bin/magento-docker ece-deploy

I am facing this error: Module 'Magento_AdobeCommerceEventsClient': Type Error occurred when creating object: Magento\AdobeIoEventsClient\Model\Credentials\CredentialsFactory, Magento\...
Th. Schott's user avatar
0 votes
1 answer
21 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
27 views

How to customize the Checkout page In Magento 2.4.6

My checkout page does not look good, it looks like the LUMA checkout page, I want to restyle the checkout page, give my own CSS, and make it one page checkout, How can I do that? I am learning Magento,...
Vibhu Bajaj's user avatar
0 votes
0 answers
21 views

OpenSearch alway down in Magento 2.4.6. Killed by oom-kill

I'm having problems with OpenSearch in Magento 2.4.6. After 1 or 2 weeks, OpenSerach crashes and causes the store's products to disappear. I'm not able to resolve this. I thought it could be the ...
Diego Queiroz's user avatar
0 votes
1 answer
31 views

Inventory switchining to "Out of Stock" after order placed, even though 1000+ still in stock

Why are my items switching to "Out of Stock" after order placed, even though 1000+ still in stock.
Christina's user avatar
0 votes
2 answers
31 views

REST API PUT /V1/carts/mine

Trough the rest API I'm trying to achieve that customers can save their cart/quote and have another new active one. For that I'm trying to figure what PUT /V1/carts/mine does, as the docs states that ...
AP87's user avatar
  • 125
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
1 answer
34 views

how to remove out of stock product price (final_price.phtml - magento 2.4.3p1)

I tried using isSaleable(), getSaleableItem(), is_in_stock, without success. I'm new to Magento and I don't have much knowledge.
Bruno Depieri Barduchi's user avatar
0 votes
2 answers
58 views

magento2 remove field in customer create in backend

In backend customer, when i want create new customer in customer/index/new, i want remove field Name Prefix in file di.xml i have <type name="Magento\Customer\Block\Adminhtml\Edit"> ...
Boll's user avatar
  • 157
-1 votes
0 answers
18 views

Imported Customer Accounts fail to show up

Imported customer accounts the other day, with the notifications mentioning it was successful but so far, no new accounts have shown in the all customers section. Need to know what I missed For the ...
sarmad95's user avatar
0 votes
1 answer
27 views

Magento2 remove Product Salable Qty

Can we remove this tab in product edit view i have override this file i have xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Boll's user avatar
  • 157
0 votes
3 answers
103 views
+100

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
25 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
1 vote
1 answer
41 views

Inventory oversold problem during high traffic on Magento website

When we have an inventoried item that sells through very quickly, we can run into problems having Magento manage inventory. Ex: If an product assigned with 200 units, it sold through so quickly that ...
Dharmendra Patidar's user avatar
-2 votes
0 answers
26 views

get values from method to input text [closed]

I'm having this which getting values from a method, i want to be able to change and click other input than push that to the method: <input type="button" class="btn btn-secondary {{ ...
Bayzel's user avatar
  • 163
0 votes
1 answer
20 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
0 answers
13 views

Custom Gallery View for Virtual Products

In Magento 2, how can I change the product gallery settings to show the nav as dots on mobile and thumbs on desktop? This needs to be for the Virtual Product Type ONLY. I think I should be able to do ...
cjochum's user avatar
  • 111
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
24 views

Issue with Sorting by Price in 'Products in Category' Section of Magento Admin

I am using Magento version 2.4.5 and I've encountered a specific issue in the Magento admin panel that I'd like to discuss. When I navigate to the 'Products in Category' section of any category and ...
user113613'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
25 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
1 answer
27 views

Using Env.php to Override Module Status in Config.php

What I am trying to achieve is overriding specific modules declared as enabled in the app/etc/config.php to be disabled by the app/etc/env.php file. A use case of that would be the 2FA module which I ...
S.Murtadha's user avatar

15 30 50 per page
1
2 3 4 5
2252