Skip to content

A Magento 2 module that provides example service classes to use instead of deprecated Magento 2.3 Registry class

Notifications You must be signed in to change notification settings

Atwix/atwix-blog-magento2-registry-deprecated-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Atwix_RegistryAlternative

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.

About

A Magento 2 module that provides example service classes to use instead of deprecated Magento 2.3 Registry class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published