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
1answer
15 views

Paypal worked while testing with Sandbox but not on production with Live

We had Paypal working fine on the development site (M 2.4.2) using Sandbox. However when the site went live and we tried switching to the live system it wouldn't work. The paypal button appears but on ...
0
votes
1answer
32 views

Magento 2.4: Custom indexer not working

On running sudo php bin/magento indexer:reindex vsbridge_banners_promotion_indexer it show's error configuration was not found. Elastic search version 7.16.2 and vue store configuration are done from ...
0
votes
1answer
20 views

how to set never expire Customer token in Magento 2.4?

In magento 2.4, there is a field in System > Configuration > Service > Oath > Customer Token Lifetime (hours). This field is Mandatory field,I wanna set this one never expires, Anyone know ...
0
votes
1answer
20 views

Magento2 browser fingerprinting

How does Magento2 use browser fingerprinting to associate a personal browsing session with a web visitor ?
1
vote
1answer
30 views

"Type Error occurred when creating object" persists

I am getting the following error message: main.CRITICAL: Type Error occurred when creating object: Vendor\CartUpdate\Plugin\Minicart\Image, Argument 1 passed to Vendor\CartUpdate\Plugin\Minicart\Image:...
0
votes
0answers
8 views

401 unauthorized on sign in after creating customer via REST API

I am having some issues with creating new customers using rest api in magento 2.4 First I sign in with admin and get the token to be used later. Than I register new account using ajax: type: "...
4
votes
5answers
3k views

Logging in Magento 2.4+

What are the different way a developer can log messages in Magento 2.4+? Zend logger can't be used anymore either.
0
votes
0answers
13 views

Magento 2 how to convert shipping address 'city' into a dropdown

I need to change the 'city' text input in checkout shipping address into a dropdown and need to load the options dynamically from a collection.please help.
0
votes
1answer
23 views

How to get ordered product count in magento 2.4

How to get ordered product count of product. I want to how many product is there in that order?
0
votes
1answer
12 views

Magento 2 website varnish x-varnish-age = 0

When I refresh page and check the header of homepage I got this below information where x-varnish-age=0 Want to confirm if there is an issue with cacheable="false"? If any block on page is ...
0
votes
0answers
17 views

Magento 2: Updating Module Specific CSS

I have added a module specific css file from within a module. I have a layout file at app/code/Vendor/Module/view/adminhtml/layout/catalog_product_edit.xml with the following contents: <?xml ...
0
votes
1answer
14 views

Unable to process binding afterRender error return on Checkout Page in Magento 2.4

In Magento 2.4, Checkout page I faced error. TypeError : Unable to process binding "afterRender: function () {return renderReCaptcha() }" How to solve this error?
1
vote
3answers
1k views

M2.4 Exception throwing while executing composer require: Higher matching version 2.3.x of xxx/module-xxxx was found in public repository packagist

While executing composer require xxxx/module-xxxx I'm facing below error on the console. Repository is private at the moment. [Exception] ...
0
votes
0answers
22 views

Rename loaded requireJS file after each change

I have a question about deploying JS files loaded using requirejs-config.js. I have a third-party plugin that needs overrides. So, I built a new plugin and inside the requirejs-config.js file I added ...
2
votes
3answers
26 views

Admin panel not loading properly, after magento 2 upgraded

I have recently upgraded Magento from 2.3 version to 2.4 version and it has been the upgraded, after upgrade the admin panel is breaking. Not loading properly. Can anyone please help me with solution.
0
votes
0answers
6 views

magento 2 : get simple product attribute on checkout cart

i am trying to get simple product attribute on checkout/cart Below is my code on Magento_Checkout/templates/cart/item/default.phtml $_item = $block->getItem(); $product = $_item->...
0
votes
0answers
3 views

How to disable deselecting of swatch on detail page?

I am trying to disable deselecting a swatch so user must choose another, because then I am getting 'undefined' image error. I have 2 swatches i.e. color and size. Firstly, if I can disable this ...
0
votes
1answer
13 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
6 views

Lock conf impossible to modify

I'm trying to update that robot conf from index,follow to noindex,nofollow The issue is that my admin conf is locked. I tried to delete the default_robot block in the config.php then clean the cache ...
0
votes
0answers
10 views

Street address fields translations issue

This is my method from the core of magento: \Magento\Checkout\Block\Checkout\AttributeMerger::getMultilineFieldConfig and this is the code: .... $line = [ 'label' => __("%1: ...
0
votes
1answer
36 views

Magento 2 : Marketplace issue combine swatch-renderer js for 2.3 and 2.4

I have two different modules for 2.3 and 2.4 which is using mixin js, I want both these modules to be compatible in one to submit in the marketplace map: { '*': { 'mymodule/...
0
votes
1answer
21 views

Getting Unknown Type error for custom option in Cart Price Rule

I have added custom option for 'Apply' in Cart price rule. But when trying add product to cart I get following error place_x_receive_y_free is unknown type {"exception":"[object] (...
0
votes
0answers
30 views

How to prevent session data losing on success redirect?

I'm working on Magento 2 upgrade from 2.2.9 to 2.4.3 and I'm having an issue with an on-line payment. Here is the deal, after payment the following callback executes public function execute() { ...
0
votes
1answer
10 views

Magento 2 setup:di:compile not work when create Interface and Repository

When i try to start command setup:di:compile i see this error: Uncaught Error: Interface 'WebbyTroops\Subscription\Api\SubscriptionRepositoryInterface' not found in /var/www/html/hajery/app/code/...
0
votes
0answers
30 views

Invert "Billing address same as shipping" checkbox action

I can't figure out how to invert "billing address same as shipping" checkbox in Magento checkout. What I need is just unchecked checkbox for same address and checked for different address. I ...
0
votes
0answers
13 views

Send csv file on email in Magento 2.4.0

I am generating order report in csv and saving that file in Var folder. Now i want to send that file on email without using any email template. How to i can send that file on email ? Kindly check ...
0
votes
1answer
14 views

No matching definition was found for `@family-name:'icons-blank-theme

We have upgraded Magento version from 2.3.4 to 2.4.2, while we execute deploy command we are facing below errors : frontend/Magento/louellabelle/en_GB 3349/3580 ==========================...
0
votes
1answer
193 views

How to increase fotorama zoom in Magento 2 fullscreen

I'm tring to edit the view.xml to incriese the image zoom at fullscreen mode. I need the zoom 4 times bigger compared with magento 2 default size, but I reaaly have no idea whats is the configuration ...
2
votes
1answer
2k views

Magento 2.4: Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster

We have installed Magento 2.4 on our local machine. After installing, we have got the below error when doing the setup:upgrade Could not validate a connection to Elasticsearch. No alive nodes found ...
0
votes
1answer
23 views

Type Error occurred when creating object after Upgrading to magento 2.1 to 2.4.3

I have Upgraded my Magento 2.1 to 2.4.3 after upgrading I am facing some issues like Service with name "Magento\Indexer\Console\Command\IndexerReindexCommand" could not be created. Reason: ...
0
votes
0answers
34 views

Magento 2 : Marketplace extension submission issue "Product is not compatible with Page Builder" error

I'm submitting my Shipping tracker module in the marketplace but they are giving me error as below, Product is not compatible with Page Builder - Version 2.0.8 claims to be compatible with Page ...
4
votes
2answers
3k views

How to install Magento 2.4.0?

I would like to install Magento 2.4.0 on server without Elasticsearch require during installation. Can anybody tell me the way to disable Elasticsearch require when I run setup:install ... ? Thank you ...
0
votes
1answer
19 views

Magento 2.4 - Delete website/store/store_view programmatically

I know you can delete the website/store/store_view via the admin panel, however, can you remove those programmatically? Via a PHP script, custom module or CLI?
0
votes
2answers
29 views

Custom Tab not displaying on product page in magento2

I need to show a custom tab after the Review tab on the product detail page. I am using Magento 2.4.3. Below is my code [vendor]/[Module]/view/frontend/layout/catalog_product_view.xml <?xml version=...
0
votes
0answers
15 views

Magento 2.4 - How to get custom customer attribute value in sales order grid?

I have made the customer attribute 'institution_name' which shows proper value in the customer grid. Now I want to show the same value in the sales order grid by adding a column and filtering the ...
0
votes
0answers
10 views

MariaDB failed to start

I am running magento on Debian Linux server. The site failed to load with error 521. MariaDB is not running. I tried to start the service, but it is returning an error. Max address space ...
0
votes
0answers
11 views

Magento 2 (My Orders) - Logged in user able to view other users order by passing the order id on the URL

Magento 2 - I'm new to Magento Logged in user is able to view other users orders by changing the order id on the URL. How to restrict this? Also, I'm showing the CSV option to download the order ...
0
votes
2answers
30 views

How to move custom block in product detailed page

I had created custom block and called in catalog_product_view.xml file but it is coming after the description now I need that block after the price. For ref please find the below url aslo https://...
0
votes
1answer
14 views

magento 2.4 customer login time increase up to 1 year or more

i want to my customer login time increase when he is one time logged in after when he/she open browser it must logged in and i have below settings increased but not affecting in my store Go to System &...
0
votes
3answers
110 views

How to remove ui-modules JS file from frontend?

I would like to remove js file on frontend side from the [magento_root_direcotry]\lib\web\jquery\ui-modules\sortable.js path I tried to remove the JS file by the below code but no luck I tried to ...
0
votes
1answer
14 views

I want to extend the mobile search on click to the desktop

I want to extend the onclick search bar like in mobile view to the desktop view also, how can i do this.
0
votes
0answers
13 views

I can't find any product as a customer from a new customer group created in magento 2.4 CE any idea why?

My site is running on magento 2.4 CE with elastic search. I've been adding products and checking various features of magento. trying to create a group of customers whom i can give discounts on ...
1
vote
6answers
2k views

Magento 2.4.3 - Checkout JS knockout error - renderReCaptcha

We upgrade to Magento 2.4.3 and now face the following JS knockout error in the checkout: TypeError: Unable to process binding "afterRender: function (){return renderReCaptcha() }" Message: ...
0
votes
1answer
21 views

Pulling product price to new block

I have added a new block to my product page. In the block i want to display the product price so I can then take that price and divide it by 3 to show monthly payments. I have tried to get the price ...
0
votes
3answers
130 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
17 views

How to show static block after addto cart in product detailed page?

I had created area calculator in static block and called in product detailed page but it is coming after the details but i need below the cart how can place this static block after to addto cart. For ...
1
vote
1answer
97 views

Magento 2.4 - Build Child Theme parent of theme installed via composer

) I need a tip. I've installed a theme via composer and I need to create a child theme having as parent a theme installed via composer. path of theme installed via composer: vendor/{vendor}/{theme}/ ...
0
votes
1answer
18 views

Update color visual swatch attribute images Magento 2.4

we need to update only images from existing color attribute options. How to achieve this?
0
votes
0answers
17 views

When i run catalog:images:resize it taked to much of disk space Magento 2.4.3

We had imported the product to our M2 store after that some product images are shown in the frontend so we checked for a solution and ran the catalog:images:resize command some images are shown in the ...
0
votes
1answer
31 views

warden Magento 2 multi store error Undefined index: MAGE_RUN_CODE

I am facing following error : MAGE_RUN_CODE in /var/www/html/app/etc/stores.php on line 12 I am using warden for local setup.

1
2 3 4 5
21