Questions tagged as 'phtml'

2
answers

What are .phtml files and when should I use them?

Until recently, I had never heard of phtml , however recently I see that it is being used a lot, mainly by some frameworks (such as Zend2). Since I can usually put html content inside a .php file, I ask myself what is the use of...
asked by 05.12.2014 / 12:01
1
answer

Problem with FOREACH PHP

My problem is that my foreach only works when in return in XML, it comes with more than one value in the array, but when it only comes 1, it does not work. The XML return when more than 1 value comes in: <NewDataSet> <HSONLINE>...
asked by 03.11.2017 / 21:56
1
answer

Remove item in specific view in magento

I have a shop in 3 languages with the showing of plots, being PT EN and ES, but I want to leave the plots display only for PT. How can I comment on these plots for EN and ES? is it possible? The parcel code is: <?php $vezes = $_produc...
asked by 22.07.2016 / 04:46
0
answers

Display attribute manufacture in frontend Magento

I've been working with Magento for a short time and I do not know much about it yet, and my case is this: in the list of items display I would like to display the% / p> I used the following code in manufacture : <?php echo $_h...
asked by 23.04.2015 / 19:43