How can i get data from another, preventing using twice same scripts?
For example, im making a simple module which needs to get some datas from category
In this case: Category Description, and total products...
It would be inside content(to add at some layout on left/right columns)
So probably at this time, before run the module, controller/prodcut/category.php has already run.
How can i get (for example)
Code: Select all
$data['description']
$data['product_total']
To run {{ product_total }} at my extension twig file?