Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Search Forums
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: ayorofrance
Forum: Questions May 4th, 2011, 04:55 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Okay, after a bit of messing around this is what...

Okay, after a bit of messing around this is what I have ended up with...

At the top of the product list on the store front page, the category and search pages and on the product detail page I have...
Forum: Questions May 3rd, 2011, 10:10 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Got it... Substitute [product.image...

Got it...

Substitute
[product.image tag='1']

with
<img src="[product.image]" alt="<?php echo mysubstitute($product->name); ?>" title="<?php echo mysubstitute($product->name); ?>">
Forum: Questions May 3rd, 2011, 10:03 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Hi again Eric... Thanks for you reply... One of...

Hi again Eric...

Thanks for you reply...

One of the major benefits of v3 is the auto-update of the shops, and I don't want to have to re-run database updates every 3 days ;-)

Anyways, the solution...
Forum: Questions May 3rd, 2011, 10:01 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Oh, how can I set the image alt text? I can set...

Oh, how can I set the image alt text?

I can set the title on the link, but the alt text is automatically set to product.name (I am using [product.image tag='1'] in the code now).

Thanks,

Anders
Forum: Questions May 3rd, 2011, 09:45 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Hi Eric, That works quite well - very clever...

Hi Eric,

That works quite well - very clever :-)

I added this function to the top of any views containing the text:
<?php
function mysubstitute($text_string) {
$search = array("Boots",...
Forum: Questions May 2nd, 2011, 06:48 AM
Replies: 8
Views: 2,519
Posted By ayorofrance
Substituting words in product descriptions

Hi Eric,

What would be the best way to substitute a particular word in all product descriptions and names?

My site is in another language than the product feed and I'd ilke to substitute say all...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -5. The time now is 05:07 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.