Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
3 answers
55 views

Preference Module - When to Pass in Parent Dependencies

I am currently creating a preference module to add additional functionality to \Magento\Catalog\Model\Product and in reviewing some of the tutorials, example below, I noted that dependencies weren't ...
A. Andersen's user avatar
0 votes
1 answer
56 views

Get all products in the catalog from my Module controller in 2.1.5

I'm in a controller's action in a module I just created. How can I get an array with all the products I got in my catalog? I did this, but it's not returning the items in the catalog $objectManager =...
Victor Ferreira's user avatar
2 votes
2 answers
5k views

Multiple product model rewrites

I have two custom modules: ModuleA and ModuleB. Each one rewrites Core Product Model via: <global> <models> <catalog> <rewrite> <...
Serhii Matrunchyk's user avatar