Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 32457

Denotes questions related to Magento Sales module's order functionality.

1 vote

Convert M1 code to M2 code

You can try once below code, protected $_orderCollectionFactory; protected $orders; protected $_salesConfig; public function __construct( \Magento\Sales\Model\ResourceModel\Order\CollectionFa …
Jafar Pinjar's user avatar
  • 1,961
0 votes
1 answer
550 views

get order collection by product attribute option value in Magento2

I am trying to fetch full order collection by product attribute option. I have a "brand" attribute with options "option_1", "option_2", "option_3". This attribute is assigned against each product sku …
Jafar Pinjar's user avatar
  • 1,961
1 vote
0 answers
480 views

Sales orders not showing for new Admin user in magento2

I have created new User here System -> Permission Assigned User Role as Administrator But when logged in with the new user which i created now, I can't see the orders for the newly created admin u …
Jafar Pinjar's user avatar
  • 1,961
2 votes

Magento 2: Change quote currency code before place order with Observer

This is a work around use Plugin instead of Observer. Vendor/Module/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn: …
Jafar Pinjar's user avatar
  • 1,961
1 vote
1 answer
1k views

Custom link in Account dashboard Magento 2 with order history

I am trying to add custom link in account dashboard of customer account navigation. Used below code to add link on left side in my layout/default.xml <body> <referenceBlock name="customer_acco …
Jafar Pinjar's user avatar
  • 1,961
1 vote
2 answers
2k views

Override admin block file issue in magento2

I am trying to override block file of adminhtml of sales module. Below is the code of my di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS …
Jafar Pinjar's user avatar
  • 1,961
0 votes
1 answer
2k views

Order not placed in magento2

Not able to place the order in magento2 checkout. getting below error when place order button is clicked. An error occurred on the server. Please try to place the order again. The request to res …
Jafar Pinjar's user avatar
  • 1,961