[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Flypage trouble if item-code has 2 No. with withespace
Hi list,
i have forget, to tell Frank and you, why i am believe MV is able to
use the flypage with an item-code like "12345 6789".
I have a code in my results page like
[perl arg=scratch]
$Safe{'scratch'}->{'lastseite'} = none;
$_ = '[item-code]';
s/\ /\%20/;
$Safe{'scratch'}->{'icode'} = $_ ;
return '';
[/perl]
and i use
[page href="[scratch icode]" send=1] More Info! [/page ]
This work well. But why not as default by MV?
Thanks!
Joachim
> It is not a bug, it is a documented restriction on the code field of the
> database:
>
>
> (from minivend.html, Section "The Product Database")
>
> The product code must be the first field in the line, and must be unique.
> Product codes can contain the characters A-Za-z0-9, along with hyphen (-),
> underscore (_), pound sign/hash mark (#), slash (/), and period (.).
>
> The space will probably also cause problems in loop constructs etc. I
> suggest you replace it with hyphen/underscore.
>
> fm
>
> --
> Frank Miedreich
> Max-Planck-Institut fuer psychologische Forschung
> Leopoldstr. 24 80802 Muenchen +49 89 38602-237
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen