How to call Viewmodel in – Magento 2
3 years ago
After the Magento 2.2 version, Magento introduces the ViewModel concept, which is looking quite cool and awesome because sometimes you need some custom value of some logic base condition need to add in the phtml file you need to override or extend that block in an earlier version. View models can be added by passing […]

