All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
2answers
502 views

Magento 2 Module development Class does not exist error

I am trying to develop a Magento 2 module following a number of tutorials and a lot of Google searching. I am also following a couple of Packt Publishing books and I am getting confused with an error ...
2
votes
1answer
768 views

Magento 2: Custom function – best place to put it?

I've created a little function for one of my template (.phtml) files which I'd like to re-use in a few other template files. All the function does is concatenate a couple of strings together and trim ...
2
votes
2answers
2k views

Update Const template at Magento 2 Class

I need to update a template defined in a Constant at Configurable Class(Magento/Swatches/Block/Product/Renderer/Configurable.php). I tried with a Plugin, but how the function which gets the constant ...
0
votes
1answer
204 views

Including a custom module model / block into template

I'm trying to follow this guide. But I want to add the template directly into the homepage using cms.xml, something like: <block type="trendingproducts/data" name="trending.products" template="...
2
votes
4answers
2k views

How to call Mage_Page_Block_Html_Pager class in list.phtml

I am wanting to include a larger than normal 'next page' type button in the list.phtml template whilst still having the normal pagination from pager.phtml The function I'm wanting to use is found in ...