New answers tagged

0 votes
Accepted

how to create custom attribute for order using data-patch in magento 2.4.6?

You dont need a patch for that, you can simply use db_schema.xml for that. There you can define new columns in the sales_order table (and/or in the sales_order_grid table, to use it in your order grid)...
Mario's user avatar
  • 478
1 vote
Accepted

Magento2: Unable to fetch the surcharge amount added by Fooman_Surcharge extension

The surcharges added by our extension are available via extension attributes. As there can be multiple different surcharges there is a top level totals group item. Please see below for an example to ...
Kristof at Fooman's user avatar
0 votes

Magento2: Create orders grid replica and add custom columns

Here are the steps to create replica of orders grid. Steps: Create a basic module Vendor_Module OR use your module & then rename the module name to the below files. Create below file into the ...
Deepak MageDivine's user avatar
0 votes

How to get all orders with a specific SKU using the REST API?

Found it: Use the orders/items endpoint using a filter on the SKU If the information is not sufficient, use the order_id key of each item to get the order with the order/{id} endpoint
bfontaine's user avatar
  • 167
0 votes

Getting order extension attributes from Swissup Firecheckout?

This is the correct method to fetch the extension attributes from the order. If you are unable to retrieve the extension attributes, it could be due to other reasons. It's possible that event/plugin/...
Deepak MageDivine's user avatar

Top 50 recent answers are included