Dynamic views in XML. Alternative 'IF' and 'FOREACH'.
When I spoke at different forums, many advised me to use to create view XML. I decided to take the advice. But I'm having trouble creating dynamic views.
Tell me, please, what are the alternative operators 'if' and 'forEach' in XML.
Thank you in advance.
You can make use of HanldeBars and do the same via XML views.
Go through this for how you can use if conditions using XML templates