Skip to main content

Questions tagged [magento2.4.1]

Questions specific to Magento Community Edition version 2.4.1

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How to change Wishlist button color once product added to Wishlist using controller

How to change the wishlist button color once the products added to the wishlist.I am getting an error while using a controller. Ref: 1)https://magento.stackexchange.com/a/256570/57334 2)https://...
zus's user avatar
  • 175
0 votes
0 answers
214 views

Magento 2 - How to update Google Business Reviews Authorization Bearer Token?

I am using Google Business Review API, every time i manually copy and paste the token key, What is the best way to achieve this?
zus's user avatar
  • 175
2 votes
2 answers
1k views

Proper way to get $block->getChildHtml inside the custom phtml file

I want to add default wishlist sidebar section into my Magento_Theme template, Layout xml file: <referenceBlock name="header.panel"> <block class="Magento\...
zus's user avatar
  • 175
1 vote
2 answers
354 views

Magento 2 - How to remove products from Wishlist if click again same Wishlist icon?

How to remove the products from wishlist if again click the wishlist icon? How to implement on my wishlist icon -> https://magento.stackexchange.com/a/166263/57334
zus's user avatar
  • 175
0 votes
1 answer
1k views

M2 - How to change Wishlist icon color after product added to Wishlist

My code: app\design\frontend\Zero\my_theme\Magento_Wishlist\templates\catalog\product\view\addto\wishlist.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
zus's user avatar
  • 175
15 votes
9 answers
44k views

Magento 2.4.1 setup:install problem : "the default website isn't defined. Set the website and try again."

I downloaded magento 2-2.4.1.zip. Unzipped it to /var/www/html/magento24/ - my local folder for local domain http://magento24.local configured by nginx on ubuntu20.04. I had done composer update or ...
Jakub Ujvvary's user avatar
9 votes
5 answers
11k views

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1 I'm testing out an upgrade of our Magento store from 2.3.4 to 2.4.1. One issue I have come across is this ...
Navin Bhudiya's user avatar
3 votes
1 answer
5k views

How to upgrade Magento from 2.4.1 to 2.4.6

I'm actually on Magento CE version 2.4.1 I need to update it to 2.4.6 (latest version) I'm in live (I don't have a staging enviroment) Is there someone who can guide me step to step in upgrading? ...
Marcello D'Ambrosio's user avatar
1 vote
1 answer
1k views

Magento 2.4: How to create Observer for "after save" event in custom module

I am using the custom module, in the backend, there are two fields, Field 1 manually entered Field 2 get the values based on Field 1. Here I want to get the Field 1 value in Observer after click save, ...
zus's user avatar
  • 175
1 vote
1 answer
225 views

How to get third party module block function to custom module block

Third party module Block: Path: app\code\Amasty\Storelocator\Block\View\Attributes.php <?php /** * @author Amasty Team * @copyright Copyright (c) 2021 Amasty (https://www.amasty.com) * @package ...
zus's user avatar
  • 175
0 votes
1 answer
100 views

Magento 2.4 Commerce cloud - After push the code from dev to live server less not compiled to css file

I have created a custom theme, for the listing page i have created custom less file, app\design\frontend\Zero\my_theme\Magento_Catalog\web\css\source\ _custom_listing_page.less On the Website listing ...
zus's user avatar
  • 175
0 votes
0 answers
407 views

Magento 2 - How to solve report.INFO: Broken reference error

How to solve the following error, [2021-06-17 03:28:43] report.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn'...
zus's user avatar
  • 175
0 votes
1 answer
361 views

_initSelect override with Plugin in Magento2.4.1

Need a help in this issue. I am trying to remove a MySQL condition from _initSelect from this Collection "Magento\SalesRule\Model\ResourceModel\Rule\Collection". This Collection has the ...
Nithin's user avatar
  • 23
0 votes
1 answer
325 views

How to customize update Mini-cart individual product price total when qty increased - KnockoutJS

I want to increase product price when to increase qty in Minicart, but here order total increased but price not updated.
zus's user avatar
  • 175
0 votes
1 answer
520 views

Magento 2.4.1: Zoom_in and Zoom_out button is not working inside product popup image on product details page

I am facing issue with image zoom_in and zoom_out functionality inside product image popup on product details page, I am also including screenshot for better under standing Please help and how can I ...
Faisal Sheikh's user avatar
0 votes
0 answers
492 views

change the wishlist item collection in "My Wish list" tab in My Account in Magento EE ver. 2.4.1

I am using Magento EE ver. 2.4.1 and i want to override the wishlist item collection in my account. But i am facing the below issue : PHP Fatal error: Uncaught Error: Call to a member function ...
Manashvi Birla's user avatar
0 votes
3 answers
3k views

Magento 2.4.1 disable Elasticsearch

I want to use Magento 2.4.1 in a shared server, the problem is that the shared server is not support Elasticsearch. Is there any way to can remove the Elasticsearch or to disable the entire search ...
Robert's user avatar
  • 2,176
0 votes
4 answers
4k views

Why I am getting error like " Could not validate a connection to Elasticsearch. No alive nodes found in your cluster " on docker with magento 2.4.1

Getting error like - Could not validate a connection to Elasticsearch. No alive nodes found in your cluster I am using docker for magento 2.4.1 while installation i am getting this error. My docker-...
Deepak Rai's user avatar
  • 1,155
0 votes
0 answers
84 views

How to write google business review API in custom module and call into phtml file

What is the best approach to write google business review API in custom module and call inside the custom phtml file, Eg Code: <?php $accountId = 'your_account_id'; $locationId = 'your_location_id'...
zus's user avatar
  • 175
0 votes
1 answer
1k views

Magento2: How to remove login popup on minicart proceed to checkout button?

I am using magento2.4.1. I want to remove login popup from proceed to checkout button on minicart and want to add login URL, So if guest user click on proceed to checkout from minicart it redirect ...
Purushotam Sharma's user avatar
0 votes
1 answer
211 views

M2 - How to move banner image using XML file

I am using Magefan blog extension, in the article page i want to move my banner image under breadcrumbs, Live demo : https://blog.demo.magefan.top/blog/post/fashion/our-favorite-blue-bags-for-fall-...
zus's user avatar
  • 175