A Magento 2 module that provides example service classes to use instead of deprecated Magento 2.3 Registry class
Branch: master
Clone or download
Latest commit a598751 Jan 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/code/Atwix/RegistryAlternative Initial commit Jan 14, 2019



A sample module that show what and how to use instead of deprecated Registry class since Magento 2.3.

This module provides 2 service classes as example:

  1. get current product;
  2. get current category;

Also it has as example the situation when one needs to ad a "Back to category" link on the product page.

Add back to category link to product page

The module is part of a post on Atwix's blog. Check it out and read the full story of the module.