[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Different action by ordering item (with whitspace) with different m v tag!
Quoting jojo@buchonline.net (jojo@buchonline.net):
> ****** message to minivend-users from jojo@buchonline.net ******
>
> Hello list,
>
> i have told about the trouble with an item-code like "1234 56789" (with
> whitespace). Someone from the list has give me, i have to replace the
> whitespace with "%20". OK! I have done this with a little perl code.
> But why can MV order item with whitespace and with another mv order
> tag, it get failure? I.e.
>
>
> [order [item-code]] Buy item with whitespace like "1234 56789"[/order]
>
> this mv tag can't order this item. And
>
>
> [page form="
> mv_order_item=[item-code]
> mv_order_quantity=1
> mv_todo=refresh"]
> Buy item with whitespace like "1234 56789"
> [/page]
>
> this mv tag can order this item with success. Because this tag replace
> the whitespace with "%20".
>
> Can someone explain me why?
>
> Your help is very apreciate and welcome!
MV doesn't allow whitespace in item codes.
You *might* get it to work partially with [order code="[item-code]"] .... as I
always say, when in doubt, quote. This is an FAQ.
But I wouldn't count on everything working in lists for that code.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 513.523.7621 FAX 7501 |_| \_\