All Questions
111,870
questions
0
votes
0
answers
4
views
Extend Magento Luma theme less
When extending Magento Luma less files in one children theme, what exactly is the name and the complete structure of the "parent" folder (mentioned at https://developer.adobe.com/commerce/...
0
votes
0
answers
2
views
Add Product Details Page Banner
Actually, I want to add the banner that appears on every PDP page in Magento 1.
0
votes
0
answers
5
views
Difference between Extension Attributes and Custom Attributes magento 2
I have a question in my mind what is the exact difference between Extension Attributes and Custom Attributes with the example?
Is anyone here who can provide me with some ideas ?!
0
votes
0
answers
3
views
Product Attribute Multi select
I am trying to replicate this kind of attribute (categories) in a custom attribute. There is a way to do it?
I means, the text input field with the search bar with the multi select option to assign ...
0
votes
1
answer
10
views
Magento 2.4.6 on Nexcess - Address Validation Error
I updated my Magento site to CE 2.4.6 (from CE 2.4.5-p1) running on Nexcess. I've shipped to this address before so I know it's valid and the shipping lookup works. It fails when I click "Next&...
0
votes
0
answers
5
views
Add thumbnail preview for dynamic row field
In magento 2 it is easy to add a Thumbnail column within a listing Ui Component, like so:
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:...
0
votes
2
answers
9
views
Magento 2 Order Status is not changing
I created a module that changes the status of the order from pending to processing based on specific payment status and if the payment status doesn't match, it cancel those order. the module is ...
0
votes
0
answers
5
views
How to solve Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children?
Anyone knows how to resolve below error from Google pagespeed score for Magento2 website.
ARIA Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all ...
-1
votes
1
answer
23
views
How to event name are add in costume log file when calling event
Magento 2 How to event(order status change event) name and order details are add in costume log file when calling event,
sales_order_place_after
sales_order_payment_refund
sales_order_invoice_pay
...
0
votes
0
answers
10
views
Creating an Order with configurable Product via REST API
I have been able to create an Order with simple Products via REST API and then had no issue creating its invoice and shipment. Now I want to create an Order with configurable Products, and although I ...
0
votes
1
answer
9
views
PHPUnit\Framework\Exception: Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
When running php unit test case i got below error
PHPUnit\Framework\Exception: Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in vendor/symfony/...
0
votes
0
answers
6
views
Switch Payment Merchant Details Based on Customer Selections
We are using physical stores to select pickup in-store for the customers. each store has a different Paypal Merchant ID with credentials.
Currently, I am looking for a solution for activating the ...
0
votes
1
answer
13
views
PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit
While running php unit test, I got the following error.
please help
Vendor\yyy\Test\Unit\Service\ImporterTest::test_validatePath with data set #1 (true, false) PHPUnit\Framework\TestCase::prophesize() ...
0
votes
2
answers
18
views
How compare item works in magento 2
In Magento 2.4.4, I saw entries in catalog_compare_item as visitor_id = 0 and customer_id = NULL,
How visitor id is updating in the table?
0
votes
1
answer
12
views
Product attribute in Model
I have an attribute product that is a multiple select. I need to fill it with many operation options to select from, like a thousand or more.
Is there the possibility to put this multiple selection in ...
0
votes
2
answers
26
views
Magento 2: How to pass the parameters to another URL?
I'm new in magento 2, my question is how to send parameters with results responses to another url whenever i click "Place Order" and before proceeding to success page. Using event and ...
0
votes
0
answers
13
views
Magento2 join product details in sales order grid as sortable / filterable column
We have added some additional sortable / filterable columns to sales order grid using some basic joins. This would be the relevant code regarding data
app/code/Vendor/Module/etc/di.xml
<?xml ...
0
votes
1
answer
11
views
displayed with and without VAT
Is there a possibility that the price is displayed with and without VAT in the product view, but in the end the customer pays with VAT.
on specific products or customer groups!
Best regards
4
votes
0
answers
13
views
Create order using REST API with multi-currency issue
Using default order create rest API one issue was face, when order create using postman/curl than it will success and working fine but when same API hit using mobile app it causes issue like - base ...
0
votes
0
answers
10
views
how to validate custom condition rule based on product attribute?
I am using plugin for the same pusrpose.
<type name="Magento\Shipping\Model\Shipping">
<plugin name="hide_shipping_method_based_on_product_attribute" type="Vendor\...
0
votes
0
answers
11
views
Error: Cannot instantiate interface
I am override the file sender.php this is not a normal class is abstract class may be that's the reason to display the error Could anyone suggest regarding this so i can proceed forward.
error
0
votes
0
answers
11
views
How can I impliment Paypal with username , password , signature in my Magento Flutter Application Magento 2?
I need to implement PayPal Payment Gate way by using username , password , signature in my Flutter application of Magento 2?
How to add PayPal payment gateway in flutter app with this ( Magento 2 ...
0
votes
2
answers
27
views
magento 2.4.6 install extention
i am new working with magento 2. i have build a website with magento 1 and there it was possible to install extensions very easy.
now i have learned by doing it, i have to use the SSH (i use putty) ...
0
votes
0
answers
4
views
make plp with "new arrivals" sorting more attractive mixing sub-categories
I have a website in Magento 2. I would like to improve the product sorting when a user selects the 'new arrivals' sorting option. Currently, within a category such as 'women's clothing', if a large ...
0
votes
0
answers
12
views
Magento 2.4.3 - Update attributes for 1 selected products stuck on pending
I have some issues with bulk updating attributes, what I'm trying to achieve is to add a store view to some products. It is too much to do it manually.
I have tried to truncate magento_bulk, which ...
0
votes
0
answers
10
views
Where does retuen qty to stock for crediememo?
public function execute(EventObserver $observer)
{
/* @var $creditmemo \Magento\Sales\Model\Order\Creditmemo */
$creditmemo = $observer->getEvent()->getCreditmemo();
$order = $this-&...
1
vote
1
answer
20
views
Magento 2.4.5 vendor folder Problem
Hello I have Magento 2 version 2.3.1 store which works as a marketplace using CES marketplace extension but after I upgrade my Magento 2 in to version 2.4.5.p1 and the marketplace extension start ...
0
votes
2
answers
14
views
MYSQL command to export magent 2 tables in CSV format
Hi Guys I need to export the Magento 2 sales order table in CSV format with the fallowing requirements. Could you guys help me. Thanks.
You must Export from your Database with these exact settings:
...
0
votes
2
answers
24
views
Errors on disabling payment method programatically
I was trying to disable the Cash on Delivery payment method using payment_method_is_active event and observer. But It stopped placing orders due to JavaSript error in the console.
Error in the ...
1
vote
1
answer
20
views
How to cache GraphQL requests?
My Magento 2.4 isn't caching requests I use many times, like storeConfig via PWA Studio.
My request header:
x-cache-hits: 0
How could I cache this kind of request to optimize the speed of my page ...
0
votes
0
answers
5
views
Magento 2 - Issue with loading .js.map in Magento PageBuilder (backend)
Using Magento 2 with Nginx/Varnish
Issue: I can't save category when using PageBuilder with MegaMenu. I get an infinite wheel saying Please wait...
This is my Nginx config:
location /static/ {
if ...
0
votes
0
answers
13
views
Magento 2.4.5 on local Xampp - Elasticsearch issue
So I'm trying to install Magento 2.4.5-p1 on my local Windows 10 machine using xampp.
I have installed elasticsearch and it runs fine when testing using the http://localhost:9200/
But when I come to ...
0
votes
0
answers
18
views
How to interpret Magento profiler data?
We have recently turned on the Magento 2 profiler to try and track down our performance issues on the site. We can see that the magento->routers_match process is taking up a good bit of our load ...
0
votes
1
answer
22
views
How to send the separate orderconfirmation mail for admin and customer
I created a custom module to send the separate mail for admin and customer but its not working.could you please suggest me regarding this so i can proceed forward.
0
votes
1
answer
17
views
how to get customer selected shipping method code from quote in magento2
how to get shipping method carrier code as $rate->getCarrier() from quote.
0
votes
1
answer
19
views
Call to a member function isVirtual() on null magento2
I have some product condition that need to be validate by core validate() function, I am using plugin here to restrict free shipping method if certain conditions are there in the cart.
public function ...
0
votes
1
answer
24
views
add progress bar in minicart magento 2
I'm new to Magento, I have this module which adds progress bar in cart summary
https://github.com/christophermallory/magento2-freeshipping-progress-bar,
I want to add it to minicart
0
votes
1
answer
19
views
createCustomer mutation with custom attribute in magento2
I Have created a module to add custom attribute to createCustomer mutation.
Vendor/Module/etc/extension_attributes.xml
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3....
0
votes
1
answer
22
views
magento 2 - list sales order status all events
I search for all events used for sales order status.
sales_order status events
magento 2.4.4
0
votes
0
answers
17
views
No such entity with id = 40 vendor/magento/framework/Exception/NoSuchEntityException.php:58
Hi I have this problem when I delete a category from admin area.
If a user clicks on a url of a deleted product/category, or if he manually enters the id of the non-existent category, he generates a ...
0
votes
0
answers
14
views
Custom Invoice in Magento 2 showing a empty Page and double Taxes
im trying to make a custom PDF-Invoice for my Magento Store. So i edited the invoice.phtml File and did some Changes. Somehow it worked pretty fine, but there are still two problems and i dont know ...
0
votes
2
answers
36
views
How to override an abstract class in magento 2
I know how override the normal class but now i try to override the abstract class [ Magento\Sales\Model\Order\Email\Sender.php ] .
i have override the Sender.php file in custom module but its not ...
0
votes
1
answer
18
views
View invoice in backend breaks page (layout will not load)
The version of my magento2 is 2.3.5-p1.
Here is the problem: We will open the invoice view in backend. So we go to: ->Sales->orders->select an order ->go to Invoices->view
Does someone ...
0
votes
1
answer
19
views
How can I validate the custom rule condition on custom module in Magento 2
Here I Create custom rule condition for custom module in magento 2
now i need to check that all rule at order place time
I create event "sales_order_place_after"
in that the rule condition ...
0
votes
2
answers
16
views
Magento 2 : How to override the abstract class [ sender.php] in custom module
I create a custom module to send email to customer and admin separately if i try to override the core file in my custom module its shown error .Error come when i override the [ sender.php ] file in my ...
0
votes
1
answer
12
views
How to make Shipping address search function in checkout?
I want to make a function where users can search for the address from the shipping address list at the checkout page.
Right now there are many B2B Magento stores globally. So Might they have a huge ...
0
votes
1
answer
11
views
Product Multi Select with dynamic options
I want to populate the options of a multi select in my attribute products with an array of value in a admin config, This is posible?... I know the possibility to do it with a installData but the ...
0
votes
1
answer
10
views
How to modify custom attribute of a product with JSON (Postman) Magento 2
thank you for reading me.
Is there a way to modify a product´s custom attribute?
I´m using postman, i use JSON POST for price and stock but i can´t find the way to update a custom attribute of a ...
0
votes
2
answers
32
views
Override Model File Magento 2
I want to override Magento\PageBuilder\Model\Catalog\Sorting\SimpleOption.php file. Please check the code below,
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
3
answers
20
views
Page Admin Blank page
Hello I have a problem with my admin page, I have the connection chart but just after I have a blank page and nothing helps I can't find a solution I tried everything as per example this:
In vendor\...