Skip to main content

New answers tagged

0 votes

ZendClient replacement with LaminasClient in Magento 2.4.6

/** * @var \Magento\Framework\HTTP\LaminasClient $client */ $client = $this->httpClientFactory->create(); $client->setOptions(['adapter' => \Laminas\Http\Client\Adapter\...
Alex lzy's user avatar
0 votes

Magento\Framework\Exception\BulkException: One or more input exceptions have occurred while processing bulk

Yes. It is not related to any third-party extensions. Need to debug at the Cron level. Need to check the Cron one by one for the same.
Magento TridhyaTech's user avatar
0 votes

Magento 2 : Product showing out of stock but In stock in admin

Anyone looking for a fix. vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusExpressionForDefaultStock.php Line 49, $connection->getCheckSql('css.stock_status IS NOT NULL', 'css....
Marcel Michael's user avatar
0 votes

JQuery.Deferred exception: Unable to process binding in magento 2.4.6

You need to update the code with following way: checkout_index_index.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:...
Grazitti Dev's user avatar
0 votes

Magento 2.4.6-p4 product images have washed colours

This is due to upload image quality configuration into the magento you can go into the Stores > Settings > Configuration. In the left panel, expand Advanced and choose System and Expand the ...
Grazitti Dev's user avatar
0 votes

Magento 2.4.6 installation issue

Hey Peter, Please change your elasticsearch version to 7 instead of 8. yes, in my local with xampp I installed many projects with elasticsearch 7. my all sites in 2.4.5 version. so it is almost same ...
Gohil Rajesh's user avatar
  • 2,947
0 votes

Magento 2.4.6 installation issue

Check that Elasticsearch is working. As per the below error message, the Magento class tried to test the Elasticsearch connection but it failed as you can see in the error. I installed Magento 2.4.7 ...
Mahesh V's user avatar
  • 121
0 votes

Magento 2.4.6 installation issue

Use elastic search version 7.19 it will work. Though, the official doc suggests opensearch but the Magento 2.4.6 version is also supported with elasticsearch 7.19 Please try with below config and it ...
Bibhu Asish's user avatar
0 votes

Magento 2.4.6 installation issue

This is the MAgento 2.4.6 System Requirements : Composer : 2.2 OpenSearch : 2.5 MariaDB : 10.6 PHP : 8.1 or 8.2 I think your MariaDB is not according to requirement, so make it above version and then ...
Dhiren Vasoya's user avatar
0 votes

How to add Enable Objects system configuration in magento 2.4.6

as far as I understood, you want to pass the values of the "Enable Objects" shown in the screenshot given of the backend. To do so, need to pass those options in the toOptionsArray method. ...
Magento TridhyaTech's user avatar
0 votes

How can I change an email template variable to show the Customer Group Name instead of the ID number

There is still a lot of missing information. For example: is this email template custom or core? if its custom, how are you defining the email template and how are you handling the sending logic of ...
Infinri's user avatar
  • 101
1 vote

Change the order status to processing

in your observer try the following code..and add necessary condition based on your requirement <?php namespace Vendor\OrderStatus\Observer; use Magento\Framework\Event\Observer; use Magento\...
MihirBangia's user avatar
0 votes

Change the order status to processing

I believe you are using an online payment method and upon an order being placed on the website, the order status is already in the Processing status. That is why when you submit the shipment, the ...
Magento TridhyaTech's user avatar
0 votes

Error while adding to cart Invalid state change requested Magento 2.4

You may encounter the following known issue: https://experienceleague.adobe.com/en/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-27/acsd-48694-invalid-state-change-requested-error-...
PY Yick's user avatar
  • 2,705
0 votes
Accepted

Magento 2.4.6 building custom admin grid filter issue

It looks like this is a MAGENTO bug :) This is how you can create a patch: Here is a patch: diff --git a/vendor/magento/module-sales/Plugin/Model/ResourceModel/Order/OrderGridCollectionFilter.php b/...
Attila Naghi's user avatar
  • 4,023
0 votes

How can I change an email template variable to show the Customer Group Name instead of the ID number

You can fetch customer group names using ID with the help of Magento\Customer\Api\GroupRepositoryInterface repository. See the updated code below : <?php namespace Vendor\Module\Observer; use ...
Jigar Karangiya's user avatar
0 votes

Magento 2 : Update Shipping Method when add/remove products from minicart

@Lou Nik Hey, You can try below code into js file where add/remove item events called. define( [ 'Magento_Checkout/js/model/quote', 'Magento_Checkout/js/model/shipping-rate-...
Sanjay Jethva's user avatar
1 vote

Magento2.4: How to show custom table data using knockoutJS?

follow these steps: 1. Create a Custom Table Create your custom table with fields: entity_id, code, title, description, and image_path. 2. Create a Model and Resource Model Define a model and resource ...
Kraftors Web Solutions Pvt Ltd's user avatar
1 vote

Magento2.4: How to show custom table data using knockoutJS?

Create a block and call your model inside your block. Here is example : app/code/Vendor/Module/Block/CustomData.php namespace Vendor\Module\Block; use Magento\Framework\View\Element\Template; use ...
Grazitti Dev's user avatar
1 vote
Accepted

What is the RequireJS configuration map vs paths vs shim in Magento 2?

In Magento 2, RequireJS is used to manage JavaScript dependencies and modules. Understanding map, paths, and shim in RequireJS configuration is crucial for proper module management. Here’s a breakdown ...
Afzal Arshad's user avatar
2 votes

Hide Individual payment methods Place Order buttons from magento 2 checkout page

@Shankar Boss Hey, In some payment methods that have payment/pay now buttons which handles payment flow of particular payment gateway/ iframe, etc so you don't hide that button that may not be ...
Sanjay Jethva's user avatar
0 votes

Show Product with Custom Price in Magento 2

di.xml: Create the di.xml file in the app/code/Vendor/Module/etc directory. xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Kraftors Web Solutions Pvt Ltd's user avatar
1 vote
Accepted

Unable to add PDF as attachment

I have updated the code for the sendEmail function. Please review the changes and let me know if you have any questions. public function sendEmail($quote, $filePath) { $writer = new \...
usman's user avatar
  • 465
1 vote

Show Product with Custom Price in Magento 2

If you have to change the prices for a group of customers, then you are going about this process wrong (I am saying this as you are setting b2b price). This would generate quite some issues and mostly ...
Vivek Kumar's user avatar
  • 5,665
0 votes

How to show address fields in register when you call the block

The error "Call to a member function getFrontendLabel()" typically occurs when Magento tries to access the frontend label of an attribute that does not exist or is not properly initialized. ...
Kishor Thummar's user avatar
3 votes

Show Product with Custom Price in Magento 2

To solve this, you need to create a plugin for the getFinalPrice method instead of getPrice. The getFinalPrice method is responsible for calculating the final price of a product, taking into account ...
Jigar Karangiya's user avatar
0 votes

Show Product with Custom Price in Magento 2

To override the product price including tier pricing in Magento 2, you need to target the correct price calculation logic. The afterGetPrice method doesn't handle tier pricing. Instead, you can ...
Kraftors Web Solutions Pvt Ltd's user avatar

Top 50 recent answers are included