Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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. ...
Ram Prashanth's user avatar
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 ...
Santiago Gutierrez's user avatar
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 ...
Denis2310's user avatar
  • 1,208
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 ...
Anton Ulrich's user avatar
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 ...
Denis2310's user avatar
  • 1,208
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 ...
Denis2310's user avatar
  • 1,208
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-...
Mohit verma's user avatar
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 ...
rubinjo13's user avatar
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 ...
Denis2310's user avatar
  • 1,208
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 ...
Denis2310's user avatar
  • 1,208
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 ...
GManikandan-Dev's user avatar
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 ...
David Gupta's user avatar
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. ...
Ronit Zinzuvadiya's user avatar
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 ...
Ram Sharma's user avatar
  • 8,809
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 ...
Alaldin's user avatar
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" ...
Denis2310's user avatar
  • 1,208
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-...
Denis2310's user avatar
  • 1,208
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, ...
yahyaBdd's user avatar
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 ...
Mani's user avatar
  • 113
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 ...
EasyEden's user avatar
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-...
Kumar Anand's user avatar
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
farhan's user avatar
  • 1
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 ...
Nihal Shantha's user avatar
-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 ...
abdenour lamiri's user avatar
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 ...
Nishita Undaviya's user avatar
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 ...
shubham's user avatar
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 ...
Zee's user avatar
  • 25
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,
Mahesh1343's user avatar
-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 ...
Patel Shubham's user avatar
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): ...
Karthik's user avatar
  • 5,749
-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,
Robo Tech's user avatar
0 votes
1 answer
368 views

How to add Dyamic meta title for category in magento 2

I want to set the meta title dynamically for the specific category. I am getting the meta title information based on the url id (?id = 1). How can i achieve this? Any help can be appreciated.
Mani's user avatar
  • 113
0 votes
1 answer
1k views

Magento 2.4.4 sample data installation error

I have downloaded Magento version 2.4.4 with sample data from https://magento.com/tech-resources/download I was trying to install it on the Wamp server. But when I run the installation I get the error ...
Akhilesh's user avatar
  • 1,273
1 vote
1 answer
2k views

How to send email with attachement in Magento 2.4

I am new to Magneto. and i searched and tried different solution online but they didn't work. I have an observer from which I generate CSV file whenever a customer place an order. I'm using <...
samina khan's user avatar
1 vote
1 answer
2k views

After Magento upgrade to 2.4.4 i'm unable to login to backend area

After upgrade to magento 2.4.4 i am not able to access the backend area; The access input is correct and no error is showing (it does if I put wrong password), it redirects me to domain.test/backend/...
Anna Kozianowska's user avatar
2 votes
2 answers
2k views

Order Email not showing product list - Magento 2.4.3-p2

After upgrading Magento to 2.4.3-p3 version all the order emails are not showing the items in the emails. Does anyone have come across such an issue and had a solution? I can see https://community....
asp111's user avatar
  • 21
0 votes
1 answer
457 views

Magento Attribute-Codes with Uppercase Letters need to work

Hello Guys, is there any possibility to make the Magento 2 Import-Module uppercase insensitive? I have attribute-codes like "ColorName" or "BaseColor" and I need them to be working....
dennisbluechili's user avatar
0 votes
2 answers
802 views

Magento 2: Cannot getData from different controller

I have this class class Api extends \Magento\Framework\Model\AbstractModel { public function __construct( \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\...
rayjonathan10's user avatar
-1 votes
1 answer
2k views

Upgrading Magento version 2.4.3 to 2.4.4

As Magento's new version 2.4.4 is about to release. all developers are looking for the upgrading process from 2.4.3 to 2.4.4. what are the areas which we need to look into as developers? what are the ...
Arun's user avatar
  • 87
0 votes
1 answer
1k views

How do I get Magento 2 data to use in the template?

I am starting in the Magento development world, and I'm creating a new theme. On my theme, I have a block which displays business contact info, but I don't know how to get the data from the store. I ...
Lucas's user avatar
  • 450
0 votes
1 answer
335 views

Create Widget Using Page Builder In Magento2

I already created a widget and it's working fine. But there is no option to add widgets using page builder. What should I do? Thanks
DevSG's user avatar
  • 7
0 votes
2 answers
847 views

How to Resize fotoroma library popup when clicking on product image on product view page in Magento 2?

I want to set custom height and width of fotorama fullscreen image popup/lightbox. How to do that....please help.
Vishal Thakur's user avatar
0 votes
1 answer
3k views

Call to a member function dispatch() on null in vendor/magento/framework/Model/AbstractModel.php

I want to insert some data for the first time the module is being installed. This is my folder structure Navien/Custom -- Setup/InstallData.php -- Model/ -- StateData.php -- StateMaster.php --...
Sanjay Goswami's user avatar
0 votes
1 answer
2k views

Add Custom Button with Functionality to Order Detail - Magento 2

I am trying to add a custom button to the admin order detail page. With the code below the button shows up correctly. However, when clicked the page loads to a 404 page. I can't seem to find a route ...
user1625155's user avatar
0 votes
0 answers
36 views

Extend the schema of grahpql in magento 2.4

Good morning, I have been trying to extend an schema in magento for a while. I have used the official documentation already and It doesn't work, I have been seeing a lot of pages and tutorial without ...
Jesus Iasenzaniro's user avatar
1 vote
1 answer
64 views

Magento Commerce (Enterprise) 2.4 Rewards exclude category when Redeeming

The enterprise version of magento includes an integrated reward points module. How do I modify this module to allow points redemption only for products in a specific category (or, another way of ...
Richard Parnaby-King's user avatar