Hi How can I rewrite the following to get it to work:
<?php if ($_product->getsub()) { echo '<a href="ref="http://test.com/-<?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html"><li style="width:120px; margin-left:auto; margin-right:auto; margin-top:20px;" class="nav-rsvp-package">subscribe</li>
the problem is that i have <?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html"> inside another <?php snippet.
I already tried:
<a href="ref="http://test.com/-<?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html">
<?php if ($_product->getsub()) { echo '<li style="width:120px; margin-left:auto; margin-right:auto; margin-top:20px;" class="nav-rsvp-package">subscribe</li>
'; } ?></a>
but in IE it didn't show the CSS properties for A (link).
Thanks,