All Questions
Tagged with magento2.4 magento
79 questions
0
votes
0
answers
16
views
Magento 2, Make Email Address Field in Checkout Page as Optional
Magento 2, Make Email Address Field in Checkout Page as Optional
Custom Module to make checkout page email address field as a optional, if not add default email Id in checkout email address field.
...
0
votes
0
answers
40
views
Magento 2 - After upgrde getting net::ERR_INSUFFICIENT_RESOURCES in admin category page
We upgraded Magento from version 2.4.5 to 2.4.7-p3. After that, we checked the admin category page and encountered the following errors:
POST https://yourdomain.com/admin/catalog/category/...
0
votes
1
answer
22
views
Group Product going "Out of Stock"
I have created a grouped product with 5 simple products attached to it. Each of those has a QTY of 15. However, at random, the grouped product turns Out of Stock without any reason. There have not ...
0
votes
0
answers
21
views
Uncaught Error: Mismatched anonymous define() module error Magento 2.4.6 - Only Chrome browser
Uncaught Error: Mismatched anonymous define() module error on chrome browser,on Mozilla is working fine on magento .2.4.7. How can find the error on production server because error only coming on ...
1
vote
1
answer
45
views
Is it possible for a magento 2 plugin to display a html written warning based on certain conditions?
These are two files i'm using to print a warning:
extra.html(https://i.sstatic.net/IYo7wvWk.png)
data.html(https://i.sstatic.net/TMabfFrJ.png)
This is what i'm getting but it's static, i want it to be ...
0
votes
0
answers
27
views
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
try to add name in di.xml but getting same issue facing. Similar issue faced for the data ...
0
votes
1
answer
51
views
Make city address attribute as optional per website | Magento 2
By default customer address attribute "city" is set as required. I would like to make "city" address attribute optional per website. When I access configuration page in magento ...
0
votes
0
answers
27
views
How to pass product dimensions (width, height, length) to DHL in Magento 2.4?
I am using Magento 2.4.6. I want to pass the dimensions of my products (width, height, length) to DHL. Actually only weight is passed to DHL.
Is there a way to achieve this in Magento 2.4? I've ...
0
votes
0
answers
66
views
CSP Module Issue in patch upgrade magento version 2.4.6-p6
ISSUE: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src assets.adobedtm.com *.adobe.com data: www.googleadservices.com www.google-...
0
votes
0
answers
78
views
Magento Cache is getting bigger and bigger after upgrade to 2.4.6-p6
I upgraded from Magento community editon 2.4.6-p3 to -> p4 -> p5 -> p6 (one after another on one day).
Since then I see that the cache is getting bigger and bigger. For example I made a tar ...
0
votes
1
answer
75
views
Magento 2 | Default shipping address not selected after shipping methods reload
Version: 2.4.6-p6
After accessing checkout shipping step, after page is loaded, my default shipping address is preselected which is fine.
Right after that, shipping methods are gets reloaded (loader ...
0
votes
0
answers
24
views
Magento 2 - layered navigation filter missing (when attribute value is not set on at least 1 product)?
I have noticed that if attribute value is not set on at least 1 product then filter for that attribute wont be shown in magento 2 layered navigation?
If I have 1000 products and there is 1 where I ...
0
votes
0
answers
67
views
Magento DB Downgrade 2.4.3 EE to 2.4.6 CE
I am downgrading Magento 2.4.3 Enterprise edition to 2.4.6 community edition. While downgrading I am following few already available modules and blogs like below
https://github.com/opengento/magento2-...
0
votes
0
answers
130
views
Magento 2 API: 401 Unauthorized for Salesrule calls with Admin Bearer Token
I am using the Magento 2 API to convert quotes (from custom made laravel project) to orders. I use an administrator bearer token, which works successfully for other API calls such as:
Create guest ...
0
votes
0
answers
47
views
Magento 2 - Filterable product attribute in layered navigation visibility?
Is filterable product attribute visible in layered navigation in magento ONLY when all products have value set for that attribute?
I have filterable select attribute which is not required and it is ...
0
votes
0
answers
22
views
Magento 2 - Custom product select attribute is not shown in layered navigation
I have created custom product attribute input type select with configuration below in code sample that is provided.
After creating attribute I assigned added options to that attribute in magento admin ...
0
votes
0
answers
27
views
when i want to update the quantity in the cart page in magento 2 its not updated Magento ver. 2.4.3-p1
I have used this code to print the data in the cart parameter
echo "<pre>";
$cartData = $this->getRequest()->getParam('cart');
print_r($cartData);
the ...
0
votes
1
answer
524
views
Magento 2.4 Issue: The coupon code isn't valid. Verify the code and try again
I'm using the magento 2.4. I have created the auto generated coupon but which is not worked.
Here, I've attached the images.Could you help me?
Initally I make sure the from & to date.
Then, I ...
0
votes
0
answers
54
views
After update in magento 2.4 all require js file not working
Due to update to Magento 2.4, changes were made by the developer in the vendor's Magento theme.
require js is not working.
Before it loading all js
I have made all the changes as before and after ...
0
votes
0
answers
66
views
An error with Magento 2 Admin panel page/Unable to access the admin page - Rest of the site is still fine
When logging into my admin panel it's throwing the error below, causing me to be unable to access the admin panel.
1 exception(s):
Exception #0 (InvalidArgumentException): Item with identifier ...
0
votes
0
answers
16
views
Issues with Responsiveness and Custom Styling in "Related Products" Block in Magento 2
MyViewTitle: Issues with Responsiveness and Custom Styling in "Related Products" Block in Magento 2
Body:
Hello community,
I'm currently facing challenges regarding both responsiveness and ...
0
votes
0
answers
142
views
How can i add multiple products to cart with quantity at same time in magento2?
My currunt url: http://viva-wireless.local/apple/iphone.html#
I want to add all product to cart with quantity who has quantity value is more then 0 while i click on "Add All To Cart" button.
...
0
votes
1
answer
170
views
Magent2: shell execute command from observer
I want to execute shell command from magento observer but getting below error.
Command returned non-zero exit code:
sudo php -dmemory_limit=5G bin/magento cache:disable 2>&1
I am using below ...
0
votes
0
answers
163
views
Error while saving Category in Magento 2.4.6-p1
When I try to save a category I am getting cloudflare timeout error and the category is not getting saved. When I checked the exception log I found this error : SQLSTATE[HY000]: General error: 1205 ...
0
votes
1
answer
92
views
Magento 2 : Enabling http2_push with Nginx frontserver and varnish
I am trying to implement http2_push to get the css sent with all the pages. Here is my sample code. I dont see the css being pushed yet. What am i doing wrong. Http2 is enabled.
location / {
#...
0
votes
2
answers
1k
views
Installed magento 2.4.6-p1 & added a few products then tried to add a product to cart and got the below error. Any help will be much appreciated
[2023-08-07T02:38:55.058044+00:00] main.DEBUG: URI '/checkout/cart/add/uenc/aHR0cHM6Ly93d3cuYmVzdWlnZW5lcmlzLmNvbS92MjQ2djEvYi1jLWluc3BpcmUtZTE1MC5odG1s/product/1/'' cannot be accessed with GET method ...
0
votes
1
answer
173
views
Magento 2 - Uncaught Error: Class "DOMDocument"
I am using magento commerce cloud, and when I try to execute selected command below:
vendor/bin/mftf generate:tests
Then this error is shown in console:
Uncaught Error: Class "DOMDocument" ...
0
votes
2
answers
526
views
How to check which files are changed in magento 2 patch?
I applied this magento 2 patch: https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-18/acsd-46146-two-order-confirmation-emails-are-sent-after-placing-order-...
0
votes
2
answers
590
views
Issues with custom import of orders in Magento 2.4.6 (Adobe Commerce)
I am following the tutorial Create a custom import entity . However, instead of importing learning courses as shown in the tutorial, I'm attempting to import orders.
To adapt the tutorial for orders, ...
0
votes
1
answer
93
views
What is the impact of Universal analytics deprecation on Magento 2
To send ecommerce data from Magento 2 to analytics, we have out of the box configuration in admin Magento 2. In which we are adding universal tracking ID (UA-XXXXXXX-1), then its starts sending ...
1
vote
1
answer
2k
views
Magento 2: Static file path is wrong, should be pub/static/.... instead of static/
So i just installed magento2 on my linux localhost using php 8.2 and magento 2.4 on ubuntu.
but once i load it up there is no css or js, and the filepaths to said stuff is wrong (see images)
i have ...
1
vote
1
answer
1k
views
Reset password not working in Magento 2.4.5-p1
The reset password is not working, I'm receiving the email, and reset link is working. After entering the new password and submit, it says that the password reset link has expired.
enter image ...
1
vote
0
answers
130
views
Magento Email and Opensearch connectivity issue
I have bought a fiber theme from the themeforest, I've installed it on my AWS EC2 ubuntu 22.04 machine.
I choose a fiber quickstart installation process which was came up with a magento 2.4.5 version.
...
0
votes
2
answers
443
views
Magento help: Install Magento 2 through composer
I try to install Magento 2.4.5 through composer but showing an error "Could not find package project-community-edition with version 2.4.5."
I used cmd:composer create-project --repository-...
0
votes
0
answers
163
views
while running the installation command to install magento2.4.5 it say "Search engine 'elasticsearch7. is not an available search engine."
Image of the error
enter image description here
Elasticsearch is already running but still shows this error
-1
votes
1
answer
454
views
Magento 2.4.4 - Add a Tare weight for packaging for shipping calculation
The issue is that we have lots of items that are very small 2-50g and a box + packaging weighs 100-200g
The package is often the heaviest part
If we set the item weight (in the product) as the actual ...
0
votes
1
answer
1k
views
How to Hide or Show Custom attribute based on another custom attribute in Product detail/edit page from Adminpanel Magento 2.4.x?
I have created the Product's custom attributes programmaticaly (Setup->Installdata.php).
`
class InstallData implements InstallDataInterface
{
private $eavSetupFactory;
public function ...
-2
votes
1
answer
56
views
magento2.4 not showing products
this my problem can check the page , https://www.elfanak.com/en_US/cravate.html
cant see the products
thanks for helping
sudo magento-cli cache:clean
sudo magento-cli setup:static-content:deploy -f
...
0
votes
1
answer
107
views
Magento2 error "The time value is using an unsupported format. Enter a supported format and try again"
I have an issue while setup/configuring Advanced Reporting. "The time value is using an unsupported format. Enter a supported format and try again." this error occurred while configuring ...
1
vote
1
answer
476
views
My products in the category page can't display in magento2.4.5 with the FreeGo theme
I applied the FreeGo theme and everything is fine, but I can't display my products in the category page.
I found that there is no toolbar.phtml and limiter.phtml in the downloaded theme folder. These ...
0
votes
1
answer
841
views
Error when run "setup:di:compile" in Magento ver. 2.4.5-p1, PHP 8.1
After upgrading to magento 2.4.5-p1 and to php 8.1
I get this error while I try to compile
I tried to delete the vendor folder and did composer update but same results.
any way to solve this issue?
...
0
votes
1
answer
833
views
magento2 i have errror in customize theme
app/design/vendor/theme_name/Magento_Catalog/web/css/source/_module.less in file i have some changes in less file then compilation some error like some variable not define and i try replace file ...
1
vote
2
answers
2k
views
Magento 2.4.5 category page out of stock products not showing
Magento 2.4.5 category page out of stock products not showing.
Even magento admin -> stores -> config -> catalog -> inventory setting is enabled ?
I tried with default magento but not ...
0
votes
2
answers
1k
views
Magento 2.4 Add custom language switcher in header
I'm creating a custom header in Magento 2.4.4, I want to include language switcher but not the default dropdown view.
I want to include link to the second language only.
So if I have 2 languages ...
1
vote
1
answer
377
views
Klevu Template Override
I am new to magneto 2 and we are using klevu search engine for search functionality. I would like to add custom text to that template. If anybody has a succession, please help me,
-1
votes
1
answer
172
views
Magento 2 owl carasoul issue
In magento 2 some time owl carasoul is load or some time given error
$.(). Owlcarasoul is not function.
Owlcarasoul.js including in web/js in front-end and Required-config.js
And use in items.phtml ...
0
votes
1
answer
1k
views
Magento\Framework\Config\Dom\ValidationException Element 'link': This element is not expected
All Magento product pages were working properly last week. Now I check that all product pages through exceptions.
1 exception(s):
Exception #0 (Magento\Framework\Config\Dom\ValidationException): ...
1
vote
0
answers
900
views
The "componentType" configuration parameter is required for the "" component
I created a custom module. My module adds the custom attribute to product. Now when I try to add New Product in Magento 2.4.4 , I am getting The "componentType" configuration parameter is ...
1
vote
0
answers
353
views
Error upgrading Magento 2.4.3-p1 to 2.4.4
I updated PHP to 8.1 and the site from 2.4.3-p1 to 2.4.4, first on a test server and everything went well, but when I did in production the frontend is working correctly, but the backend comes in but ...
-1
votes
3
answers
553
views
How to Push Magento 2 from My PC to github
My store is ready 100% and Now I wanna push it to GitHub but I cant, plz tell me steps in detail.
I will be really thanks full to you,