Having a custom Block where I fetch custom data what is the accepted workaround to inject the methods in this custom Block from another block.
Having the following situation I fetch in my custom block the most viewed products I would like to reuse the methods and template from ListProducts. Is there a way to do this without extending the above class?
getAddToCartPostParams
– fefe Apr 21 '16 at 7:41