Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] substring



******    message to minivend-users from "Sergey Sheykin" <sheich@mosinfo.ru>     ******

Hi,

I need, that minivend show me on a page
any image, if product title include any text, for example :
if product title include [micfofilm] then show image mf.gif.
Code ^

[if

[perl] substr('[loop-field title]',index('[loop-field
title]','['),index('[loop-field title]',']')) [/perl]
= /[microfilm]/]

<img src="/film.gif" border="0">

[/if]

does not work ...

How can i do it ?

Thank's, Sheich.

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: