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

Magento 2: Getting error after adding Adobe Sensei keys in the admin configuration

I'm getting the below error after adding Adobe Sensei sandbox and productions keys in the admin panel. "The API key you provided is not valid for use with Product Recommendations. Please use an ...
Arun's user avatar
  • 1
0 votes
0 answers
15 views

Magento 2.4.6 doesn't load styling

I'm trying to run a local Magento 2.4.6 project. I'm using Linux, Valet, and Elasticsearch in docker in the project. The connection is running. These works: composer install, setup:upgrade, setup:...
JoelMorales's user avatar
0 votes
0 answers
15 views

Ebizmart Mailchimp Interest Group Issue

I'm using Magento2 and I installed the module Ebizmarts_MailChimp in my local and setup using the MailChimp account. Everything is working fine except that when I add a group interest on an account ...
Ricky Aldea's user avatar
0 votes
0 answers
18 views

Sync products between 2 stores with REST API Magento 2

I am a trying to integrate products with REST API. We have 1 master Magento store where we have all the products, and have plan for other Magento stores which will integrate with Master store and ...
Preet's user avatar
  • 1
0 votes
1 answer
43 views

Magento 2 : Exception Error Depricated Functionality Return type

I am using magento version 2.4.2 and php version 7.4.3 I am trying to run the project locally, getting the below error: Exception: Deprecated Functionality: Return type of Magento\Framework\Config\...
Prince's user avatar
  • 123
0 votes
1 answer
29 views

SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition magento2

I am getting the below error when i trying to run setup upgrade command. SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it ...
Prince's user avatar
  • 123
0 votes
0 answers
24 views

OrderAfterSave send additonal emails

I'm trying to sent out addtional emails after a customer has placed an order. These additional emails will be sent from configurable email adressess and templates. It is part of a custom payment ...
Dennis van der Graaf's user avatar
0 votes
0 answers
22 views

Magento 2 - how to remove navigation menu linkage for tabs

In my default magento theme for desktop on hovering on the menu, sub-menu is opening. But in tabs when clicking on menu, menu is opening but its also redirecting to main navigation link. expected ...
Mani's user avatar
  • 173
0 votes
0 answers
17 views

Magento Cloud Docker 2.4.6-p2 on ./bin/magento-docker ece-deploy

I am facing this error: Module 'Magento_AdobeCommerceEventsClient': Type Error occurred when creating object: Magento\AdobeIoEventsClient\Model\Credentials\CredentialsFactory, Magento\...
Th. Schott's user avatar
0 votes
1 answer
34 views

Using Env.php to Override Module Status in Config.php

What I am trying to achieve is overriding specific modules declared as enabled in the app/etc/config.php to be disabled by the app/etc/env.php file. A use case of that would be the 2FA module which I ...
S.Murtadha's user avatar
0 votes
1 answer
34 views

How to Use Customer Address template (set address in Customer Address Template )?

Thank you in Advance I want to use customer address template to show customer template in format but I don't know how to do this ? You can find this configuration :- Store > Configuration > ...
Bhagyesh Bhalodiya's user avatar
0 votes
0 answers
12 views

Magento2 How to reduce file size of invoice pdf (need to support Chinese and Korean characters)?

Because Magento OOTB can not support Chinese and Korean characters, so I use the external font file (this font https://fonts.google.com/noto/specimen/Noto+Serif+HK?noto.query=Noto+Serif+HK) to do this....
Zoe's user avatar
  • 41
0 votes
0 answers
14 views

Redis Error - TypeError: substr(): Argument #1 ($string) must be of type string, Credis_Client given in

So my site has been down for a day now caused by an issue with Redis, my host is continually stopping it and restarting things to get it back online but this does not last long a few hours at best, ...
Sparetoolparts's user avatar
0 votes
0 answers
11 views

How to change the error message content and it need to show in pop

While clicking the "Place Order" button, an address related error message showing. How to change this error message content? Here we are using one page checkout module in magento2.4. Also I ...
saravankg's user avatar
0 votes
2 answers
34 views

How I can get products with random order?

I am making a custom module and I want to get 5 random product skus. So far I tried: $objectManager = ObjectManager::getInstance(); /** * @var ProductRepository */ $productRepository = $...
Dimitrios Desyllas's user avatar
0 votes
1 answer
26 views

How I can load the Product repository without using the dependency injection?

I made my own command to seed a table: namespace MageGuide\FirstModule\Console\Command; use MageGuide\FirstModule\Model\BlogPost; use MageGuide\FirstModule\Model\ResourceModel\BlogPostResource; use ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
20 views

How I can provide arguments towards the existing graphql request?

I made the followig schema.graphqls type BlogPost { blog_post_id: ID title: String post: String } input BlogpostAttributeFilterInput { page: Int limit: Int } type Query { ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
28 views

How I can provide a Collection at the constructor of my Graphql Resolver?

In my module I defined a etc/schema.graphqls: type BlogPost { blog_post_id: ID title: String post: String } input BlogpostAttributeFilterInput { page: Int limit: Int } type Query ...
Dimitrios Desyllas's user avatar
0 votes
3 answers
67 views

Deprecated : strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\mage2rock\app\\\list.phtml on line 112

when i install a free template i try to create a catagory I end up with an error that looks like this Exception #0 (Exception): Deprecated Functionality: strpos(): Passing null to parameter #1 ($...
web cos's user avatar
0 votes
1 answer
58 views

Magento 2 : Missing field "image" in google search console

After successful crawled, am seeing Missing field "Image" issue for all PDP pages in the Google search console. I do have all images for Products in my site. How can i fix this issue. do we ...
Mani's user avatar
  • 173
0 votes
1 answer
30 views

Frontend: Website / Shop Access Restricted To Registered Users

I am planning to create a multisite Magento store that may only be accessible to B2B customers. The users and user groups should be created via the backend, a registration via the frontend is not ...
Pixelrocker's user avatar
0 votes
2 answers
29 views

How to edit and save a Bundled Product "Bundle Items" link fields on Magento 2.4.6 PHP 8.1

I am writing a program that is checking product data and updating where required. My problem is that I can't save a Bundled Products Bundle Items linked product fields such as price, price_type, qty, ...
Baz's user avatar
  • 161
0 votes
0 answers
26 views

Issue on Magento 2.4.6 installing on docker

Hi I have installed magento 2 on docker.when I stop and start the container ,it shows error: failed switching to "root": operation not permitted After I run as root also the issue persist....
Jothi Subramanian's user avatar
0 votes
1 answer
21 views

How I could install HtmlPurifier in my custom module?

I made my own form: <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
Dimitrios Desyllas's user avatar
0 votes
1 answer
26 views

Does magento2.4 sanitizes form input in order to avoid XSS or I have to implement my own methods?

I made my first form: <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
Dimitrios Desyllas's user avatar
0 votes
2 answers
23 views

How I can convert my form into a singe column one and place a WYSIWYG editor?

For an admin form I have implemented the following form: File app/code/MageGuide/FirstModule/view/adminhtml/ui_component/add_blogpost.xml <?xml version="1.0"?> <form xmlns:xsi=&...
Dimitrios Desyllas's user avatar
0 votes
2 answers
39 views

Applying Patches

In applying patches, If the provided zip file for the patch contains enterprise and open-source patches, should you apply both? or should you just apply the one same with your repo?
Ricky Aldea's user avatar
0 votes
0 answers
41 views

How I can add a `Create New Button` to my Grid in magento2 where redirects to another page?

I am learning magento extention creation, and I try to add a "Create New" record in my admin grid. So far I made this grid: namespace MageGuide\FirstModule\Block\Adminhtml; use MageGuide\...
Dimitrios Desyllas's user avatar
0 votes
1 answer
21 views

How I can retrieve the Image Url of a given product?

I have a custom block in magento 2.4 where I retrieve a image List namespace Pcmagas\FirstModule\Block\MyList; use Magento\Catalog\Model\ProductRepository; use Magento\Framework\Api\...
Dimitrios Desyllas's user avatar
0 votes
0 answers
18 views

Magento 2 - Cart Price Rule

I want to create a cart price rule in such a manner that i have 2 products SKU-1, SKU-2 when customer contains above two products in cart and applied that coupon the discount will be £1. and also i ...
Mani's user avatar
  • 173
0 votes
2 answers
44 views

How I can get products using multiple skus?

In my custom block I loaded the ProductRepository: namespace \Pcmagas\FirstModule\Block\MyList; class MyList extends \Magento\Framework\View\Element\Template { private ProductRepository $...
Dimitrios Desyllas's user avatar
0 votes
1 answer
30 views

Magento 2.4.3 Stock Problem

I have a problem with qtys when I'm trying to order the same product more than one qty. Example I have a T-Shirt with size: Small and qtys : 2 When I'm trying to order this products with 2 qtys in the ...
Ddweb's user avatar
  • 31
0 votes
0 answers
18 views

How to dispaly average and total in all admin grid in magento 2

I want to display avg and total in all admin grids like the order reports in Magento 2.
Himanshu's user avatar
  • 968
0 votes
1 answer
81 views

Magento 2.4.6 Opimize database tables

I'm using Magento 2.4.6, I want optimize the database, Some tables have large entries. report_viewed_product_aggregated_daily report_viewed_product_aggregated_monthly ...
MP Raj's user avatar
  • 400
0 votes
0 answers
12 views

High Fastly CDN Usage

Hope all doing well, I am working on Magento 2.4.4 E.C.E Cloud Instance, Using Fastly as a CDN, What i am facing is we are having very high cdn consumption, does any body have faced this issue and ...
nihal malik's user avatar
0 votes
0 answers
14 views

Add Javascript to a Single Custom Admin Configuration Page in Magento 2.4 with XML

I am developing a custom module and need to load a javascript function on my "Custom" admin configuration page created with system.xml at url "admin/system_config/edit/section/<...
Baz's user avatar
  • 161
0 votes
2 answers
29 views

Does anyone know how to download an extension package from composer, so it can be manually installed?

I want to manually install a magento 2 extension that only has a composer require command to install. Is there a way to use the composer require command to download the extension dir? So it can be ...
Alaldin's user avatar
0 votes
0 answers
27 views

Magento 2 category shows all catalog products instead of its actual products after setting its layout to a custom layout

I have the following issue with a magento 2.4.3 category: Using the default theme (having the category's Design/[No layout updates] option selected), it properly shows its products and their number: ...
Robert's user avatar
  • 33
0 votes
1 answer
28 views

Guest user cart automatically empties itself after 1 hour

I am facing an issue where the products added in the cart automatically gets removed after 1 hour. I am facing this issue only for guest user. I have checked the following values and found them to be ...
Ranvir Singh's user avatar
0 votes
1 answer
45 views

Magento Please use the 2fa provider-specific endpoints to obtain a token error REST API on Admin token

Magento Rest API to fetch admin token credentials to use tokens for other REST APIs as Authorization Bearer. From Magento 2.4+, the Two Factor Authentication Module is available for security reasons. ...
César Robledo's user avatar
0 votes
1 answer
23 views

How to show customer dropdown attribute as radio button in registration page - Magento 2

I have created a customer drop-down attribute from admin, in the registration page i need to show it as a radio button, how can achieve this. is it possible to show its as radio button, if not is ...
Mani's user avatar
  • 173
0 votes
1 answer
38 views

Magento 2 - Get Stock Update Observer

My observer is not getting product information, this line is always printed $this->logger->info('Product object is always null.'); <?php namespace Custom\Module\Observer; use Magento\...
Madking's user avatar
0 votes
2 answers
42 views

Magento2: How to show Price summary on Order success Page?

I want to show the price summary of the order in the order success page like this image below : Any idea? Thanks.
IZANOVA's user avatar
  • 355
0 votes
0 answers
12 views

How to parse widget in json format in magento 2.4.4?

Is it possible to parse widget code to JSON format? {{widget type="Magento\CatalogWidget\Block\Product\ProductsList" template="Magento_CatalogWidget::product/widget/content/grid.phtml&...
Devidas's user avatar
  • 3,298
0 votes
1 answer
46 views

Magento 2 - How to show text box field on selecting "Other" option in customer attribute dropdown

I have created customer attribute from admin, It is a drop-down. In the drop-down, i have one value as "other", once user select "other" I need to show text box and save that value....
Mani's user avatar
  • 173
0 votes
1 answer
94 views

How to optimize Magento 2 indexer

I'm having one magento 2 website which contains 1 million products. The website is based on MSI and there are multiple CRON jobs running on hourly basis to do the inventory and price updates. So the ...
Sandeep Nair's user avatar
0 votes
0 answers
32 views

It's time to change your password not working in Magento 2.4.6 admin

It's time to change your password link not working when I click on it, it simply redirects to same page(admin dashboard). I have set Password Change setting to Recommended, I don't want Forced. Don't ...
Parbat Singh's user avatar
0 votes
2 answers
25 views

Magento 2 - Class doesn't Exists when compiling

I tried to create a simple plugin (magento 2.4.3-p1) : But when I run the compiler, I have the following error : In PluginListGenerator.php line 326: Plugin class Fseb\ModuleA\Plugin\Catalog\Model\...
ILOA's user avatar
  • 3
0 votes
1 answer
37 views

Upload file (invoice) to existing order

Is it possible to add an externally generated invoice to an existing order record? The scenario is as follows: A company receives orders via a Magento 2.4 online shop. The orders are further processed ...
Pixelrocker's user avatar
0 votes
2 answers
44 views

Magento 2.4.6 - Import mutiselect attribute options from CSV

UPDATE I've used the Firebear ImportExport Extension for now. That works without any problem. Its pricey but worth the money if magento cant get something "simple" like this working. Good ...
Marcel H.'s user avatar
  • 107

1
2 3 4 5
34