Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I have had success passing the "Registry" into my block class and accessing the current product from there. See thread: How do I get the current product in Magento2? Commented Apr 4, 2017 at 15:05
  • @Ankit, how can we get product price from the customer group Commented Feb 27, 2019 at 12:59
  • This does not work if the prices are set from Catalog rule. can anyone suggest on that? Commented Apr 23, 2019 at 13:09