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
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
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: "...
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
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
20 views

Magento2 browser fingerprinting

How does Magento2 use browser fingerprinting to associate a personal browsing session with a web visitor ?
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
2answers
35 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
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?
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 ...
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->...
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
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
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
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() { ...
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
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
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
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
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
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
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
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 ...
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
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 ...
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
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
0answers
13 views

Add or edit product not load when canonical enable

I installed the SEO module on the localhost and when it enters the products I can not edit or add the products I noticed that activating Canonical in mageworx does not load the full screen ...
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
0answers
14 views

No Import/Export Section under System->Data Transfer

In the Admin-Panel there should a "Import/Export" option under System->Data Transfer. This option is missing for me. I have already checked Admin-Resources and the admin-user has access ...
0
votes
1answer
15 views

How to call Block in product detailed page?

i had created custom block in content -> block -> xyz (block name) now i wan to call this block in product detailed page. How can i call this block in product detailed page?
0
votes
1answer
45 views

afterExecute() must be an instance of Magento\Framework\App\Response\Http in plugin Magento 2.4 upgrade

I have a plugin in my module that was working in Magento 2.3, but after upgrade to 2.4 i am getting the error TypeError: Argument 2 passed to ..\Plugin\Controller\Checkout\Sidebar\RemoveItemPlugin::...
0
votes
1answer
57 views

Add Magento search on Home Page banner

I want to add a search box on the home page banner like this I added this banner via page-builder. Any way-out to add search box like this? Please guide Rashi
0
votes
0answers
20 views

Magento 2 Custom flow - Order status not updating after invoice creation

Normally, Magento will set the Order status to Complete once invoice is created but I want to set it to processing for some reason. I have tried using these events: sales_order_invoice_pay ...
0
votes
1answer
13 views

Strange interaction between module and attribute sets

I faced an unusual problem on one of the live sites. The gift card module adds its "Gift Card by Amasty" option in the "Add product" menu and when the module behaves normally, it ...
0
votes
1answer
41 views

Magento 2.4.3 CMS Page custom layout update

I am trying with no luck to update a layout to a specific page only to our Magento 2.4.3 store. CMS Page URL key is: product-finder I have created in child theme folder this xml file: app/design/...
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
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
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
0answers
15 views

My custom customer_address field is not copied customer address

I have created one custom checkout field in the checkout address form. I have successfully saved value in quote_address and sales_order_address both tables. But not save customer address Eav attribute ...
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
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
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
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] (...
1
vote
1answer
35 views

How to Hide or Show Custom attribute based on other custom attribute in Product detail/edit page from Adminpanel Magento 2.4.x?

I have created the Product's custom attributes programmatically(Setup->Installdata.php). $eavSetup->addAttribute( \Magento\Catalog\Model\Product::ENTITY, '...
1
vote
1answer
62 views

Magento 2.4 Sidebar\RemoveItem - afterExecute() must be an instance of Magento\Framework\App\Response\Http

I get this error: TypeError: Argument 2 passed to ..\Plugin\Controller\Checkout\Sidebar\RemoveItemPlugin::afterExecute() must be an instance of Magento\Framework\App\Response\Http, instance of ...
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