MiniVend Akopia Services

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

Re: [mv] Change the order process



Jeff Meeks wrote:
>         Is it possible to change the order process such that when an item is
> selected that the customer does not have to go to the basket, but
> instead can continue to shop until they hit the check out button or the
> view shopping cart button?
> 
>         I have been unable to find the answer in the documentation or the mail
> archives, but I am knew to minivend and may be looking for the wrong
> things.

The answer *is* in mailarchiv! :-)) 

Search for "basket", "no basket", "without display", etc...! The answer
is anywhere! ;-)


Short answer:

>From docu....

-------------------------------------SNIPP
Basket display

The basket page(s) are where the items are tracked and adjusted by the
customer. It is possible to have an unlimited number of basket pages. It
is also possible to
have multiple shopping carts, as in buy or sell. This allows a
basket/checkout type of ordering scheme, with custom order pages for
items which have many
accessories. 

The name of the page to display can be configured in several ways: 
   1.Set the SpecialPage order to the page to display when an item is
ordered. 
   2.Set the FrameOrderPage directive to the page to use when frames are
enabled. This overrides option 1. 
   3.Use the [order item cart/page] Order it! [/order] form of order tag
to specify an arbitrary order page for  
an item. 
-------------------------------------SNIPP

If you use

[order [item-code] ord/nobasket] 

and you have a file "nobasket.html" in the directory "ord" and use codes
in your "nobasket.html" like

[tag op=header interpolate=1]
Status: 302 moved
Location: [area href="[data session last_search"]
[/tag]

(really, only this 4 lines of codes, not else)

you get the results page again, after ordering any items without
displaying the basket.
If you get no success to use [order item cart/page]....rename the
basket.html to infobasket.html, rename the nobasket.html to basket.html
and use simply [order [item-code]]. Donīt forget to rewrite any links to
the new basket page (infobasket).

But the redirection can cause more problems, e.g if you order any item
outside from the resultspage. This is maybe a solutions...

[if session last_search]
    [set name=arg interpolate=1][data session last_search][/set]
[else] 
    [set name=arg]/[/set]
[/else]
[/if]
[tag op=header interpolate=1]
Status: 302 moved
Location: [area href="[scratch arg]"]
[/tag]

If your shop runs in a WIN box, you will not get any success with the
above redirect command. But there is a solution with javascript.

<HTML><HEAD><TITLE>MOVE</TITLE></HEAD>
[set mv_put_session]Yes[/set]
<SCRIPT>
<!--
     {document.location.href="http://__SERVER_NAME____CGI_URL__/[data
session last_search]"}
//-->
</SCRIPT>
<BR>Please wait a moment! Your search resultpage will be build once
more!<BR>
If your browser is stalling, then ....
<A href="http://__SERVER_NAME____CGI_URL__/[data session
last_search]">go on</A>!
</BODY></HTML>


If you use anywhere [data session last_search], add the next line like

[set mv_put_session]Yes[/set]

at the top of all page, which is searching for any items (e.g.
srchform.html).


Long answer:

Try again! Try...try...try...and try again. There are a lot of
informations in mailarchiv! :-)

Well! Tomorrow! I am on vacation! :-))))

Regards,

Joachim
-- 
-------------Hans-Joachim Leidinger---------------------




Search for: Match: Format: Sort by: