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 90962

This tag is used for questions that involve PHP code in any way. So as soon there is a PHP Exception returned or error report generated, this question qualifies to be tagged with PHP.

1 vote
1 answer
2k views

Magento 2: get order id on success page

I'm trying to put the conversion event snippet into my success page, but I dont know how do I get the order_id to pass with. My code is: gtag('event', 'conversion', { 'send_to': '...', …
Ralf O's user avatar
  • 67
0 votes

Detect Success Page on Magento 2

I found the code below here $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $request = $objectManager->get('Magento\Framework\App\Action\Context')->getRequest(); if ($request-> …
Ralf O's user avatar
  • 67
1 vote
3 answers
760 views

Detect Success Page on Magento 2

Is there a way to check if am I on Success page on Magento 2? I know in Magento 1 we can check and compare the action name, for example. But in Magento 2, there is something similar?
Ralf O's user avatar
  • 67