[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Direct link to checkout w/item in cart?
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
Danny schrieb:
>
> ****** message to minivend-users from "Danny" <danny@experienced.com> ******
>
> I'm trying to implement a one-click *external* link that puts an item in the
> cart and brings up the checkout page. The best I can do is
> http://www.mysite.com/cgi-bin/cart/order?;ITEMCODE which brings up the cart
> view with the item in the basket, but I'm really looking for a
> "checkout?;ITEMCODE" parameter or something along those lines.
>
> Anyone (Mike?) know of an undocumented param I can pass or another method?
Hi... you can edit the nobasket.html file to get it like
-------snipp-------
[tag op=header interpolate=1]
Status: 302 moved
Content-type: text/html
Location: [area href="ord/checkout"]
[/tag][set mv_no_cache]1[/set]
-------snipp-------
and set it in your catalog.cfg as
########### CheckoutPage
##
## Default: order
#
# The name of the default page to send the user to when the
[finish-order]
# tag is used.
#
CheckoutPage ord/nobasket
or read the section "Basket display" in minivend.html or insert a line
like
[order <anyitemnumber> ord/checkout]This is a test![/order]
look at this via your browser and you get a hint...
or your has the nobasket.html as your basket.html
or...hmmm...there are a lot of ways to rome! ;-))
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------
-
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