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


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

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

<?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="[]" target="_blank" rel="nofollow">
<img src="[product.image]" width="250" />

<div class="rc">
<h2><a href="[product.url direct='0']" title="[]" target="_blank" rel="nofollow">[]</a></h2>
<p class="desc">[product.description]</p>
[product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[]"><?php echo str_replace("-"," ",$tag->name);?></a>[product.end]
<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 class="clearingdiv"> </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?