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 42427

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

2 votes

Cart price rule discount description does not displayed on cart page in magento

For display the Discount Description in cart page you need to override the Magento_SalesRule module js file and html template in your theme Step 1: First Create Magento_SalesRule folder in your the …
Ankur Bhadania's user avatar
1 vote

Magento 2 : How to redirect from a observer without exit or die (as it's not allowed by mage...

Without exit or die redirecting to a given URL in observer you need to stop the dispatch event using Action::FLAG_NO_DISPATCH namespace [Vendor]\[modulename]\Observer; use Magento\Framework\Event\O …
Ankur Bhadania's user avatar
3 votes
4 answers
5k views

How do I get the estimate shipping Country id in Magento 2?

I am writing a custom shipping rates module, and I can’t seem to figure out how to get the estimate shipping Country ID. I know how to get the Country id once the order has been created, but not for …
Ankur Bhadania's user avatar