All Questions
112,576
questions
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 ...
-1
votes
1
answer
14
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?
...
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 ...
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 ...
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 ...
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 ...
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...
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 ...
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 ...
0
votes
0
answers
17
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\...
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 ...
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,...
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 ...
0
votes
1
answer
33
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.
0
votes
2
answers
33
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 ...
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 ...
0
votes
1
answer
36
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.
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">
...
-1
votes
0
answers
19
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 ...
0
votes
1
answer
28
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" ...
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:
{...
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/...
1
vote
1
answer
46
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 ...
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 ...
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 ...
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
[...
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 ...
0
votes
0
answers
25
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 ...
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 ...
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 ...
0
votes
1
answer
33
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 ...
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 ...
0
votes
0
answers
27
views
How I can seed products into database directly?
Sometimes I have magento installations where my coleagues do edit files in ./vendor folder. Therefore, I cannoty use the existing seeder. Therefore, using magento's seeder will require extra ...
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 ...
0
votes
1
answer
31
views
One or more indexers are invalid. Make sure your Magento cron job is running. Can it be fixed from admin panel?
I have a magento 2.4.3 running on a production server. I have the following error message in the admin panel.
Also some of the indexers shows "reindex required". I do not have the SSH ...
0
votes
0
answers
29
views
The nonce is already used by the consumer with ID
After Oauth handshake completes and the 4 Oauth values are generated I test an API call like this one:
curl --location 'https://[server name]/index.php/rest/V1/categories' \
--header 'Authorization: ...
0
votes
0
answers
18
views
Your payment could not be taken. Please try again or use a different payment method. PayPal Validation Failed / braintree
we have a problem since update to 2.4.6 and braintree 4.5.0. It seems to occur only for customers, who already bought something a while ago.
The first payment works, Then, after some days, the second ...
0
votes
0
answers
19
views
Magento keeps creating multiple indexes in Elasticsearch
I have a couple Magento stores, and have them hooked up to an Elasticsearch server. On just one of the stores, it seems to regularly create new index names every day, which leads to overage issues ...
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 ...
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.
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 > ...
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?
0
votes
0
answers
7
views
How to fix products when this comes up: Something went wrong with processing the default view and we have restored the filter to its original state
Magento 2.4.5-p1
I have exported and imported products from Magento 1 into my Magento 2. Now, when I go to:
Catalog - Products
and surf the products for example in the following way:
10 per page
...
-1
votes
0
answers
17
views
Importing Customer list errors
Was importing a file when these errors were identified, not sure what they mean exactly
Duplicates found in column names: array ( 0 => '', 1 => 'mail,_w', 2 => 'bsit', 3 => ',_stor', 4 =&...
0
votes
0
answers
12
views
Importing New List of customers via csv from orders
Need a means of adjusting large list of names on excel sheet for import on magento 2 while adjusted into customer database template without needing to adjust manually.
1
vote
0
answers
16
views
OpenMage LTS 19.4.15 (Magento 1.9) Super slow POS and Cart functions, but fast backend and frontend performance
We use AWS to host our site, and shortly after I increased memory from the standard 30gb to 40gb on a t3.medium, I noticed that the POS we use (magestore) was acting super slow. Where it would ...
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 ...
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 ...
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 ...
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 ...