[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[mv] hard to generate [order tag]
minivend 4.03 and comments go only for that:
I spent way too long generating an [order tag] with a result like this:
<A HREF="http://Products.Maine.Com/Catalog/products.cgi/basket?mv_session_id=VJquWsVM&mv_action=refresh&mv_order_item=maine_dictionary&mv_cartname=storytellers">Order</A>
There are more than a couple of ways shown in the docs. That was part
of my frustration - too many ways. TIMTOWTDI.
Beyond that I'd have preferred to use named params personally. :-)
So mostly I'd end up with something like this, with mv_order_quantity
creeping in, probably because of positional placement?
genii.znet.maine.com VJquWsVM:maine.com - [31/January/2001:20:59:04 -0500] PAGE: flypage products Vend::Util: UTIL:find_special_key key (order), dir(../pages/) special{key} (basket)
> mv_order_quantity=/basket
> page:basket
Ultimately I ended up patching Interpolate - I really did not want
to do that.
push(@parms, "mv_order_mv_ib=$opt->{base}")
if($opt->{base});
# CFM
::logGlobal("Interpolate has merchant ($Vend::Session->{values}->{merchant})");
push(@parms,"mv_cartname=$Vend::Session->{values}{merchant}")
if ($Vend::Session->{values}->{merchant})
# /CFM
Hopefully I'm a year out of date making a comment on 4.03. The various
methods of [order] could stand, well, some tidying. :-)
Best,
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users