View Single Post
  #12  
Old November 23rd, 2011, 08:50 AM
meinehandtasche meinehandtasche is offline
 
Join Date: Jul 2011
Posts: 43
Default

hmmm... for the category view somehow it didn't work that way.
When I change the code this way the headline won't be displayed.

What am I doing wrong again?

What I did:
Inserting this line
Quote:
<?php $pname = str_replace(" - bei YOOX.COM", "", $product->name); ?>
and changing to <?php echo $pname; ?> instead of [product.name]

Quote:
<?php $pname = str_replace(" - bei YOOX.COM", "", $product->name); ?>

<!-- Product List -->
<div class="pl">
[product.each]
<div class="t3 col1">
<div class="bdr">
<div class="lc">
<div class="thmb"><a href="[product.link]" title="<?php echo $pname; ?>">[product.image tag='1']</a></div>
<div class="prc">[product.currency mode='word'] [product.price]</div>
</div>
<div class="rc">
<h2><a href="[product.link]" title="<?php echo $pname; ?>"><?php echo $pname; ?></a></h2>
<p class="desc">[product.description]</p>
<div class="btns">
<a href="[product.link]" title="<?php echo $pname; ?>" class="dfbutton dfblue dflarge">Details</a>
<a href="[product.url direct='0']" title="<?php echo $pname; ?>" class="dfbutton dforange dflarge">bestellen</a>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
</div>
[product.end]
<div class="clearingdiv"> </div>
</div>
<!-- /Product List -->