Currently, the alert links (when product is back in stock and price change alert) are simply wrapped in paragraph tags. I would like to surround both of these paragraph tags with <div class="alert-links">[default alert urls code here]</div>
I've looked round /base/default
for some answers, and have found base/default/template/productalert/product/view.phtml
but this only seems to plug the values from `/base/default/layout/productalert.xml
- it looks like the phtml file is called twice, which outputs one paragraph tag after another. So I can't add my wrapper div in here.
I have also tried adding a div in /template/catalog/product/view.phtml
around this piece of code:
echo $this->getChildHtml('alert_urls');
This works - the div then shows up in the source code - however, I'm using alert.urls
as a reference elsewhere and appending another block under it. This causes the appended block to display inside the wrapper div, rather than under it.
So what's the best way to do this? Probably something involving productalerts.xml
?
<i class="icon-alert"></i>
) beside text inside p tag?