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
0answers
10 views

Bundle product shows out of stock in frontend : options and selection do not match

I have a magento with multiple store. I created from the backoffice a bundle product with 2 options containing each one 3 selections of items This product appears as out of stock in my store frontend. ...
0
votes
0answers
11 views

Magento2.4 - Retrieving queued messages

Is there a way to retrieve queued messages in Magento 2.4 code wise without the need to depend on what queue type is used (RabbitMq or db queue) for a specific topic? I know that when using the db ...
0
votes
0answers
16 views

How to make Custom theme full width?

I have created custom theme. Parent theme is luma. I want to make all pages full width. For example by default if we add static blocks on home page it doesn't show full width. How do I show all custom ...
0
votes
0answers
10 views

Out of stock products get an "In stock" label

I have a strange problem. Products that are out of stock, are getting the label "In stock". I'm running Magento 2.4.2-p1. The issue also appears in the Magento Blank theme and Magento Luma ...
1
vote
0answers
15 views

How to export and download advanced pricing csv file programmatically in magento 2.4

I have to export and download Advanced pricing csv file via cron(programmatically). Can anyone please explain me how can we do?
1
vote
0answers
14 views

Magento2 How to remove coupon code programatically

I am using a custom script to apply multiple coupons at a time for example: GET100OF GET200OF GET300OF Now, If the user wants to remove GET200OF then how to do this? Below solution does not works: $...
1
vote
1answer
30 views

Extreme big headers only in large configurable products

We have a Magento 2.4.0 store. Most of our products are configurable. And some of them are having a lot of options. We also use swatch options. We have discovered some links which return: Error 503 ...
0
votes
0answers
9 views

Connection between magento with RabbitMQ

How to ensure the connection between RabbitMQ and Magento 2. Please help me to sort out this. I have successfully configured the RabbitMQ with Magento 2, And I have configured the same in my AWS ...
0
votes
0answers
20 views

Add custom field on Magento Company Registration Form

I want to add a custom field i.e. pwd/confirm PWD in the Magento company register form i.e. B2B Register form. I will not send an email to the customer for a password. Can anyone give me an idea to do ...
1
vote
0answers
26 views

Add a JS mixin to the add to cart button

Im looking to add a JS mixin to the 'add to cart' button, that will log the add to cart form information to the console when a user clicks submit.
2
votes
5answers
57 views

How to enable Two-Factor Authentication in Magento 2?

How do I enable it for all account types in Magento 2? Anyone, please help me with how to disable the Two-factor Authentication module using a command line.
0
votes
0answers
15 views

Catalog Price Rule - Ignore Custom Options

I recently migrated over from a Magento 1.9 instance. When we applied the catalog price rules it only discounted the price of the product and the associated custom options remained as they were (no ...
0
votes
0answers
9 views

Magento PDF invoice M1 to M2?

I have used an Magento 1.9 instance until very recently. The Invoice PDF was perfect. Can I copy the config directly over to Mage 2.4.3?
0
votes
1answer
16 views

Magento2 - How to NOT send Welcome email when manually adding Customer from admin panel

I want to manually add some customers to the the site via the backend without it auto dispatching a welcome email. Is this possible?
1
vote
0answers
18 views

magento 2.4 show product options in custom template

On the frontend, I have a custom template with some tabs: when the user switches among tabs, he can load a simple product. Each tab loads a different product. This works fine with normal products but ...
0
votes
2answers
43 views

Price on product detail page changed to 0.00 magento 2.4.3-p1

I'm facing a weird issue with the product detail page on magento 2.4.3. The product price will be shown while loading the page and changed to 0.000 once the page is loaded completely. The price is ...
0
votes
0answers
26 views

how can get custom value under the subtotal in cart page?

I have tried to get custom value under the Subtotal at cart page, like this. please help me with this how can we get this kind of value?
0
votes
0answers
23 views

Magento2.4 - How to filter out states?

How do we filter out states from the shipping address dropdown menu on checkout?
0
votes
1answer
21 views

Error Invalid template file: 'Magento_Theme... While trying to create custom header using custom theme

app/design/frontend/Vendor/Customtheme/Magento_Theme/layout/default.xml <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for ...
0
votes
0answers
7 views

Broken pipe or closed connection Magento2 Bulk Async API

Anyone have experience using the Magento's bulk API async/V1/products. I tried using it with RabbitMQ but it was throwing error like connection time out after 3 seconds, I fixed that but still I'm ...
0
votes
0answers
14 views

Magento 2.4.3 Admin category tree is not showing after upgrade

I have upgraded Magento 2.4.1 to 2.4.3 and it is an enterprise edition. After the update when I logged into the admin catalog->category menu, the left bar that is category tree, add category/sub ...
0
votes
0answers
13 views

How to Save Custom Attribute value While Customer Login through REST API

I have created a custom attribute that is device_token and i want to take some value while customer login like in the below image. So what is the correct way to save that value in Magento 2 customer ...
0
votes
1answer
16 views

custom module admin value not get right value at front end magento 2.4

I have created one custom module, but from backend, I can not get that proper value at the front end, I don't understand what I do a mistake here, please guide me on this. here is my code, system.xml &...
0
votes
0answers
22 views

how to call address dynamic block in template file with arguments?

Hi here is my code in the layout XML file. <block class="Magento\Customer\Block\Address\Edit" name="customer_address_edit" template="Magento_Customer::address/edit.phtml&...
0
votes
1answer
10 views

any way to create Bundle product using Rest API?

I'm looking for a way to create/update bundle product using Rest API, but I couldn't find any hint for that. Can some one help is this regard.
0
votes
2answers
36 views

Magento 2 : Magento\Newsletter\Model\SubscriptionManagerInterface class does not exist in 2.3 version. Need Compatible code for 2.3 and 2.4

I have installed a custom module related newsletter, I want my module to be compatible in 2.3 and 2.4. I'm overriding the class Magento\Newsletter\Controller\Subscriber\NewAction MyVendor/MyModule/...
0
votes
0answers
11 views

How to add custom customer attribute in Magento 2 REST API

I am adding a new attribute for the customer login in Magento 2, What is the correct way to add that custom attribute as a payload for customer login in REST API.
0
votes
2answers
47 views

Disable Company Approval Magento 2

In my project whenever any user visits the front-end & creates an account. Company form is displayed. After entering all valid information, an email is sent to the user to set a password. After ...
0
votes
1answer
25 views

Magento 2.4.3 upgrade error

I just upgraded from Magento 2.3.6 to 2.4.3 near the end of the installation I received this error: Does anyone know why I get this error? What does it mean? We do have MSI disabled in case that has
1
vote
2answers
28 views

How to install magento 2.4.x with NGINX on ubuntu?

Please give me steps to install magento 2.4.x. Thanks, Ziya
0
votes
1answer
14 views

Add Fancybox in Magento 2.4.3

First, I added these files to my custom theme: app/design/frontend/Custom/mytheme/web/js/jquery.fancybox.min.js app/design/frontend/Custom/mytheme/web/css/jquery.fancybox.css Then I edited app/...
1
vote
3answers
29 views

How to change table column nullable definition using declarative schema?

I have added a table using declarative schema given below: <table name="trade_item_brand_category"> <column xsi:type="int" name="id" padding="10&...
0
votes
0answers
22 views

Magento luma checkout page on venia PWA project as checkout?

As there are a lot of extensions related to the checkout page like payment gateways, shipping methods is not compatible for Venia PWA in the market, so can we use the LUMA theme for checkout only? if ...
0
votes
0answers
15 views

SQL error on Database Import, while setting up staging site

I have been trying to import a database to clone a production site that is working and I am receiving this error when trying to import the database. Error Static analysis: 2 errors were found during ...
0
votes
0answers
6 views

Move top links dropdown

When a customer is logged in, there's an account dropdown in top.links. I'm trying to move that dropdown to the mail porto_header so that the dropdown appears when I click on the icon circled in the ...
1
vote
2answers
19 views

Anything wrong in below code, I'm trying pass argument from di.xml to class

I'm trying to understand virtual types and how we can use them in practice. Referred some code from the vendor, still, it is giving me an error when I'm trying to access the helper class. namespace ...
0
votes
1answer
17 views

php bin/magento setup:static:deploy -f won't work

I'm running the php bin/magento setup:static:deploy -f command and it gives me this error syntax error, unexpected token "match", expecting identifier#0 /var/www/magento.cm/public_html/...
0
votes
1answer
12 views

Magento 2: Change product template based on the category

We have multiple categories and each category has it's own products(mostly simple products). The products in each category has different UI design for product view page / product details page. I know ...
0
votes
0answers
11 views

SSH Error: Could not save the page: Content HTML contains restricted elements. Allowed HTML attributes for tag

does anyone have any information or details on the following warning that I am seeing in the 2.4.3 when I try to run bin/magento magesetup:setup:run with Argument: Could not save the page: Content ...
0
votes
0answers
19 views

magento 2.4.3 Custom theme "Required parameter theme_dir was not passed"

I'm trying to create custom theme in my magento 2.4.3. I m getting error "" have written like this below. 1 exception(s): Exception #0 (InvalidArgumentException): Required parameter '...
1
vote
1answer
37 views

Magento 2.4.3 Bundle Product getting issue on frontend Magento\Catalog\Model\ResourceModel\Product\Flat::getLinkField()

We have upgraded magento to 2.4.3-p1 and added new bundle product. On frontend when we access bundle product it show error Call to undefined method Magento\Catalog\Model\ResourceModel\Product\Flat::...
1
vote
0answers
11 views

How to Resolve Payment Request is not defined error in GPay using Magento 2?

I have integrated Google Pay Extension from the marketplace. https://marketplace.magento.com/unboundcommerce-module-googlepay.html After integrating on my local machine and Configured with Test ...
0
votes
1answer
17 views

How do I get Customer's Device Token for Android App in Magento 2

How to get customer's device token in order to send the notifications on customer device in Magento 2.
0
votes
1answer
12 views

Class 'Zend\Log\Logger' not found#0 after upgrade to 2.4.3-p1 version

I've upgraded my Magento Commerce version from 2.4.2-p1 to 2.4.3 composer require magento/product-enterprise-edition=2.4.3-p1 --no-update composer update All seems to work fine but when I try to use ...
0
votes
0answers
17 views

When i install manual the magento theme I got error 'Exception #0 (ReflectionException): Class ET\Base\Helper\Data does not exist'

Exception #0 (ReflectionException): Class ET\Base\Helper\Data does not exist #1 Magento\Framework\Code\Reader\ClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/...
0
votes
1answer
34 views

Display message twice on the page in Magento 2

I'd like to display the default Magento page message block twice on the Cart page. It is now displayed at the top of the page. I would also like to display it at the bottom. Is that possible?
0
votes
0answers
6 views

Magento2.4 why customer reset password not validating if its same as old passowrd

Using Magento 2.4.1 Query:- why does magento not provided any configuration or setting to validate the customer password reset, means when customer is trying to reset password his/her new password ...
0
votes
1answer
23 views

Upgrade Magento 2.3.5 to 2.4.3 version then run setup upgrade command

Run php bin/magento s:up command.
0
votes
1answer
34 views

How to override core plugin method?

I would like to override core plugin method Core plugin path Magento\InventorySales\Plugin\StockState\CheckQuoteItemQtyPlugin.php In this file I would like to override aroundCheckQuoteItemQty() ...
0
votes
1answer
9 views

Show all products for specific categories

Our client has a specific need where they wish all products to be shown for one particular category, whilst all others show the default number (12 in our case) with pagination. I know Magento doesn't ...

1
2 3 4 5
20