Questions tagged [magento2.4]

Denotes questions related to the features included in Magento version 2.4.x

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

Magento 2.4.2 product isSalable not being set properly

Using Magento 2.4.2-p2, I have a product that has stock and qty in the backend, but per the product->getData(), is_salable is set to 0 on the front end. Per this article, I fully removed the ...
0 votes
4 answers
1k views

Upload CSV file size limit

I have 13mb file I want to upload, I've increased the php.ini file to 100MB but Magento upload page still giving me the warning to make sure the file is less than 8MB. is it possible to upload the CSV ...
0 votes
3 answers
46 views

Create New Custom Email Header Template in magento2?

How to create a New Custom Email Header Template in magento2 and load it into the emails? How to create multiple headers.
0 votes
1 answer
2k views

How to Get all Order using GraphQL in Magento 2?

I want to get all Pending order Status Orders using GraphQL, Anyone can share a complete example or module. How to I'll do that ? I have create Custom module Admin Grid, Now i want to display Only ...
0 votes
2 answers
33 views

Jquery ajax call set value to product attribute not saved in magento2

I created product attributes based on the selection of attribute yes/no I am calling Ajax to get value and set it in the editor custom attributes but after setting value by jQuery and saving the ...
0 votes
0 answers
10 views

How to set custom menu items active in top menu depending on URL visited (menu caching issues)?

When I add custom menu items to the top menu (where product categories are placed) they are not set as active or are always active, depending on logic I implement for checking active state, no matter ...
0 votes
1 answer
4k views

Magento 2.4: Unable to unserialize value

When i launch a REST API call to see all orders on my site i get this error: main.CRITICAL: Report ID: webapi-62432e964b1e4; Message: Unable to unserialize value. {"exception":"[object] ...
1 vote
1 answer
2k views

Magento2: How to configure CodeSniffer in phpstorm?

I want to configure code sniffer in phpstorm so i can refactor my code according to Magento coding standards
0 votes
0 answers
14 views

Create multiple Configurable Products that redirect to the Parent Product

How do I create a parent product with multiple variants e.g. Colour: Oak, Black Oak. Then have both show as individual products on the category page but when clicked, they direct to the parent page ...
0 votes
0 answers
16 views

Optimise Category Page Speed

The category page takes between 4 to 5 seconds to load, occasionally extending to 6 or 7 seconds. The page doesn't have a large number of product listings, with a maximum of around 50, but pagination ...
1 vote
2 answers
3k views

Does the default Magento 2.4.2 Require RabbitMQ Asynchronous message queueing?

Does Magento 2.4.2 (2.4.x) open source REQUIRE asynchronous message queueing (and thus installation of RabbitMQ) by default? I was under the impression that 'asynchronous message queueing' is an ...
0 votes
0 answers
12 views

magento 2.4.6 snippet [$block, 'toHtml'] not working

Can anybody explain this magento 2.4.6 statement from core file ? $alertGrid = $this->_appState->emulateAreaCode( Area::AREA_FRONTEND, [$block, 'toHtml'] ); In the above ...
0 votes
2 answers
133 views

Upgrade Magento Version to 2.4.4-p2 - Autoload Error

Upgraded Magento version to 2.4.4-p2 whenever we move files from local to server even any folder to another folder at same server, shows below error. We do every time vendor folder delete then run ...
0 votes
2 answers
1k views

Magento 2 How to turn off SSL check on sending CURL request to the external API?

I am working on a module that will send CURL requests to the external APIs of a CRM. I am getting an error in my exception log like main.CRITICAL: Error Curl {"exception":"[object] (...
0 votes
2 answers
1k views

magento 2.4 product collection filter by custom attribute value instead of id

Via backend, I added a dropdown custom attribute on my products. Now I need to filter the product collection based on the value of this dropdown. If I add the option id in the filter, everything ...
-1 votes
0 answers
16 views

Magento 2 : Can't edit simple product price in Admin Panel

I have problem in Magento 2.4.6. I cannot edit the price of any simple product when selecting it in the admin > Catalog > Product panel. This does not happen in my local environment, nor in ...
0 votes
1 answer
195 views

How to remove the new required fields from the checkout page address in Magento 2.4

I have set up a virtual product store in Magento 2.4, where I do not require users to fill in address information during purchase. How can I remove the required fields from the checkout page address ...
0 votes
1 answer
2k views

Magento 2.4.0 - Configurable Product Showing Out of Stock

We have Multiple configurable products but some of the Configurable Products are showing as Out of Stock. I have verified the following Multiple times All children are In Stock & have a quantity ...
0 votes
2 answers
2k views

Magento 2 - Get product attributes selected value via MySQL

I am trying to get a products selected attribute value via MySQL. Basically, what I need is the SQL equivalent of this: $_product->getResource()->getAttribute('my_attribute')->getFrontend()-&...
0 votes
0 answers
14 views

Help Finding Extension: Surcharge on product (M2)

We sell cleaning chemicals (B2B) and the state requires a VOC tax for each sale, which must be shown separately. For accounting reasons, we are looking for a more specialised solution. Simply charging ...
0 votes
2 answers
2k views

Failed to upgrade from Magento 2.4.1 to Magento 2.4.3-p1

I'm using magento version 2.4.1 and composer version 1.10.25. i tried to update it to magento 2.4.3-p1 using composer but i always received an error. First i run this command: composer require magento/...
0 votes
1 answer
38 views

Magento 2 : Reorder Throw Exception

After successful purchase in the order details page when i click reorder option it throw below exception TypeError: Magento\Framework\DataObject::__construct(): Argument #1 ($data) must be of type ...
0 votes
1 answer
2k views

Product Search retuns error

Hi all while searching product in magento 2.4.1 am getting below error my elastic search version is 7.12.1 can any one suggest what is the exact issue here. 1 exception(s): Exception #0 (...
0 votes
1 answer
11 views

Magento 2 static content deploy duplications

I have Magento 2 installation with a lot of websites and one website has language which other websites don't. When I execute setup:static-content:deploy it generates the language for all store views I ...
0 votes
2 answers
362 views

Tier price calculation on Special Price

I need to change the logic of the tier price calculation. I have special prices on my site and their calculation depends on a product base price, but I need to calculate it depending on the special ...
1 vote
1 answer
1k views

Magento Custom Attribute Sorting - By Sort Order

I would like to get the catalog to sort by the custom attribute sort_order position. However, when using custom attributes to sort product collections, in MYSQL it sorts by attribtute value name, when ...
0 votes
0 answers
14 views

FedEx RESTful APIs patch for Magento ver. 2.3.4

Getting email from FedEx Magento ver. 2.3.4 Please be reminded that on and from 15 May 2024 our support for your connection with FedEx Web Services will end and be replaced by the new FedEx RESTful ...
1 vote
3 answers
11k views

How to setup OpenSearch in Magento 2 instead of Elasticsearch

I want to use OpenSearch instead of ElasticSearch in Magento 2 I didn't find anything to configure the OS configuration.
0 votes
0 answers
12 views

magento 2.4 custom query bind values

on my magento I need to run a custom query to fix some data. I'm trying to write my queries using Magento standard way as much as possible. The code is pretty simple: first I check if there are any ...
0 votes
1 answer
17 views

Editor CMS block/page remove attribut onclick

I'm trying to save code like this in my CMS block: <p class="bold-text" onclick="sayhello()">Hello world</p> When I look at the result by clicking on "Show/Hide ...
0 votes
1 answer
2k views

Product not showing in frontside

I have updated Magento version 2.3.5-p1 to Magento 2.4.0 but after upgrade products not showing in front side. I have reset index also it's showing valid I've tried the following things in an attempt ...
0 votes
2 answers
29 views

'Magento_Customer/js/customer-data' javascript does not get cart items of customer

I have this code as below in a custom module define([ 'rjsResolver', 'Magento_Customer/js/customer-data', 'jquery' ], function (resolver, customerData, $) { 'use strict'; return ...
1 vote
4 answers
689 views

table sequence_order_1 does not exist

I am using magento 2.4 while MSI is enabled. when check out , an exception occurred, main.CRITICAL: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.sequence_order_1' doesn't exist, ...
1 vote
2 answers
3k views

Composer Install throws error downloading Magento Package in Magento 2.4.1

Trying to run composer install in a Magento 2.4.1 project is netting the following error: The "https://repo.magento.com/archives/magento/module-page-builder/magento-module-page-builder-2.1.0.0....
2 votes
1 answer
2k views

"bin/magento setup:upgrade" taking too long time to complete

I have 2 different servers and same magento243 setup in both servers. In one server setup:upgrade is completed quickly, but in another server it takes about 15 minutes to complete upgrade command. ...
2 votes
2 answers
4k views

Elasticsearch: No alive nodes found in your cluster & test connection gets failed

I have run this command: composer show elasticsearch/elasticsearch then all stats of elastic search runs perfectly. Attached is the screenshot. Also, I have configured in the admin panel. The ...
0 votes
0 answers
6 views

Search conditions returning no results / breaking

I have a couple custom modules, one for adding eav attributes to customers, and I had a module that filtered those customers based on the attribute values, which 'was' working. When I say "filter&...
0 votes
0 answers
6 views

magento 2 get product details based on store view by using order item id

How can we get the product details based on store view by using order item [product_id] in magento 2.4.6 ?
0 votes
1 answer
43 views

Add custom mp4 file to Fotorama but without using iframe - Magento 2.4

We would like to load a custom mp4 file on the productpage, directly into the fotorama, but without using a iframe. We do not want to use the YouTube or Vimeo method. We already found the solution to ...
0 votes
1 answer
33 views

Redirect the customer to Previous Page after registration in Magento 2.4

I want to create one functionality for the customer registration process. if registration is initiated from a particular page, then it should redirect to the same page after registration completion ...
0 votes
1 answer
48 views

Shipping information block and customer email

I'm relatively new to Magento development and we're currently using version 2.4.5-p1. We recently migrated from Magento 1 and I'm now working on customizing the new order email. So far, I've ...
1 vote
1 answer
80 views

Is it possible to install Magento 2 in Wamp Server in 2024?

I´ve tried so many ways and I cant do it someone please help me, this is literally my school final project. I think its because the Magento zip isn´t available on the original site anymore, I dont ...
0 votes
1 answer
45 views

What method of product import and update you are using, if there are thousands of products with many custom attributes?

I've been using async bulk API to manage products, but most of custom attributes are not updated this way in Magento 2.4.6 . What are other popular methods which would do the job as well? Update. As I ...
3 votes
3 answers
2k views

Magento 2.4 decline message disappears quickly - several quick fixes don't to the trick

I have a problem on my updated Magento 2.4 store. The error messages (like insufficient stock amount) disappear after a short time. Instead, I want them to be visible until the customer clicks on them....
0 votes
1 answer
27 views

.css and .js files only loading when refreshing page after deploy

Whenever I'm deploying updates on our Magento 2 live environment, I run into the issue that on first page load, the .min.css files and sometimes the .js/.min.js files aren't loading (the browser runs ...
0 votes
1 answer
22 views

Integration page in admin panel not show my custom API

Integration page in admin panel not show my custom API in the list, because i need to allow my endpoint for particular integration user not for authenticated user or is there any other way to achieve ...
0 votes
0 answers
13 views

How to use mailchimp for Magento 2.4 Customer Registration mails

Im using Magento 2.4 and all order confirmation mails are triggered from mailchimp.How to trigger Customer Registration Email from Mailchimp
1 vote
1 answer
1k views

What kind of caches are cleared automatically after product edit in Magento 2?

After reading some comments on the ticket magento2/issues/25670 what I can understand is Magento 2 creates/stores a tag for each entity which is modified. For example if a product is modified it's tag ...
0 votes
0 answers
11 views

I want to show 1 and partially the next image in the fotorama main gallery of Magento

In the PDP, I want to show the first main image and the partial second image in the product gallery of fotorama for Magento 2.4.6. Is this achievable?
0 votes
0 answers
16 views

Cart crossell products on PDP

I'm using magento 2.4.6 and I want display the crosssell products that is set using cart-product rule on PDP. Is this possible?

1
2 3 4 5
36