All Questions
112,572
questions
0
votes
0
answers
12
views
How to update product position of a product in a specific category of specific store view in magento 2.4.4
I have a multi-store website and have more than 30 categories. I have a requirement like updating the product position.
For example, I have a category 'XYZ' which contains more than 500+ products ...
0
votes
0
answers
9
views
Magento 2 Add To Cart modal is not Opening instead refreshes the page
Console Errors:
Uncaught Error: Mismatched anonymous define() module: function(){var e=!1,t=!1;function s(e){this.opts=r.extend({},{onClose:null,onOpen:null,beforeOpen:null,beforeClose:null,cssClass:[]...
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 ...
0
votes
1
answer
31
views
Magento 2 system configuration searchable dropdown how can i impliment
<field id="dropdown_example" translate="label" type="select" sortOrder="80"
showInDefault="1" showInWebsite="1" showInStore="1&...
0
votes
0
answers
17
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 ...
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 ...
0
votes
0
answers
16
views
Sync products between 2 stores with REST API Magento 2
I am a trying to integrate products with REST API.
We have 1 master Magento store where we have all the products, and have plan for other Magento stores which will integrate with Master store and ...
0
votes
1
answer
20
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?
0
votes
1
answer
34
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 ...
0
votes
0
answers
17
views
How to Set Up Continent-Based Table Rates in Magento 2.4.6 Without Custom Development?
I'm trying to set up table rates for shipping based on continents in Magento 2.4.6. The goal is to have different shipping rates for different weight ranges, but categorized by continent instead of ...
0
votes
1
answer
29
views
The consumer isn't authorized to access %resources "resources": "Magento_Sales::actions_view"
In a magento 2.4.6 installation I have created the below api.xml which has created a new integration which I activated.
<?xml version="1.0"?>
<integrations xmlns:xsi="http://...
0
votes
1
answer
31
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....
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 ...
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)
...
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.
0
votes
1
answer
29
views
PageSpeed - How to reduce Reduce initial server response time and Eliminate render-blocking to increase page speed
In gtmetrix, I am facing high initial server response time and render-blocking resources.
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, ...
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?
0
votes
1
answer
38
views
unable to access Magento 2.4.6 backend on a fresh install with sampledata
I'm unable to access the Magento 2.4.6 backend on a fresh install with sampledata
I get this when I try to open the Magento Backend URL
Error: Class "Magento\ThemeSampleData\Plugin\View\Page\...
1
vote
1
answer
34
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&...
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:...
0
votes
1
answer
21
views
Tax calculation showing wrong in magento2
Total is 607.77 and TAX is 6%, it's 36.4662
But magento showing 37.67
Can anyone help me how i can get 36.4662 insted 37.67?
Admin side tax settings:
Thanks in advanced.
0
votes
1
answer
41
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\...
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....
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\...
0
votes
1
answer
16
views
Datetime Range picker on the filters of the created_at column in the sales order grid - magento 2.4.5-p3
I have a problem with changing the default date range picker to the date time range picker widget in the sales order grid.
I have done the following:
created the necessary registration.php and module....
0
votes
0
answers
30
views
Custom Payment Method issue in Magento 2.4.5
Create a Custom Payment Method in Magento 2 but face this issue on the checkout page.
{ "message": "Please enter a valid credit card expiration date.",
"trace": "#...
0
votes
3
answers
39
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.
...
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\...
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....
0
votes
3
answers
53
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</...
0
votes
1
answer
26
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
29
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. ...
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 ...
0
votes
1
answer
37
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 ...
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 ...
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} {"...
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 ...
0
votes
1
answer
28
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 ...
0
votes
1
answer
35
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 ...
0
votes
0
answers
22
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 ...
0
votes
0
answers
24
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 ...
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 ...