View Single Post
  #9  
Old November 23rd, 2011, 02:57 AM
meinehandtasche meinehandtasche is offline
 
Join Date: Jul 2011
Posts: 43
Default replace string from product titel

Hi,

how can I replace a string like "- bei Yoox.com" from the product title?

I tried to insert it this way in //Views > Product detail > edit template// but didn't work.

Quote:
<?php echo str_replace(" - bei YOOX.COM", "", $category->description); ?>

<!-- Single Product -->
<div class="sp">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
<img src="[product.image]" width="250" />
</a>
</div>



</div>
<div class="rc">
<h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>
<p class="desc">[product.description]</p>
<div>
[product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[product.end]
</div>
<div class="prc">[product.currency mode="word"][product.price]</div>
<div class="btns">
<a href="javascript:window.history.go(-1)" class="dfbutton dfsilver dflarge" title="Zurck zur letzten Seite">zurck</a>
<a href="[product.url]" class="dfbutton dforange dflarge" title="Jetzt kaufen" target="_blank" rel="nofollow">Bestellen</a>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->

I already asked a similar question but do you have a solution if I want a freelancer to re-write the product description for SEO purpose without providing access to the factory? Like: exporting all products in a csv file and importing it back.
If not might this be worth to be a comming feature?

Thanks,
Oliver