[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
(Solution)Re: Question about on-the-fly shopping cart display pages
****** message to minivend-users from Ceres <jfrye@ehg.net> ******
Ryan,
Thanks for the compliment. 8-) On your catch of the exp. date problem,
I am not sure what you mean "not returning an accurate value". Do 2004
and 2005 not display in the menu for you? What browser are you using?
As for the cart display, it isn't really a big deal. It is a simple
[item-list][/item-list] tag pair that surrounds various [item...] tags.
As per the docs " Within any page the [item-list cart*] element shows a
list of all the items ordered by the customer so far." The exception to
this rule that I have found is the fly-page. Because, the fly-page acts
as an item list, placing a [item-list cart*] tag on the page results in
the cart displaying the item info of the fly-page item. e.g. the
customer has three items in the cart they go to the fly page for a
fourth item the cart will displays the three current items with the
fourth's info. (Forgive me Mike if this is not entirely accurate)
The way around this I found was to insert the cart info from an
[include...] tag. So, in all my pages I have [include
/home/minivend/catalogs/hgdev/pages/Nav.html] which inserts my Nav page
(the column on the left). This works even on the fly-page. The code for
the "mini-cart" is:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#cccc99"><font size="4">Shopping Cart Contents</font></td>
</tr>
</table>
<table border="0" cellpadding="4" cellspacing="0" width="100%">
<tr>
<td><table width="100%" border="1" bgcolor="black">
<tr>
<td align="left" bgcolor="#cccccc" width="43%">
<font size="1"><b>SKU</b></font></td>
<td align="center" bgcolor="white" width="13%">
<font size="1"><b>Qty</b></font></td>
<td align="right" bgcolor="#cccccc" width="43%">
<font size="1"><b>Price</b></font></td>
</tr>
[item-list]
<tr>
<td align="left" bgcolor="#cccccc" width="43%">
<font size="1">[item-code]</font></td>
<td align="center" bgcolor="white" width="13%">
<font size="1">[item-quantity]</font></td>
<td align="right" bgcolor="#cccccc" width="43%">
<font size="1">[item-price]</font></td>
</tr>
[/item-list]
<tr bgcolor="#cccc99">
<td align="left" width="43%">
[page ord/basket]<font size="2">Edit Cart</font>[/page] </td>
<td align="center" width="13%">
[page ord/checkout]<font size="2">Checkout</font>[/page] </td>
<td align="right" width="43%">
[page canceled]<font size="2">Stop Shopping</font>[/page] </td>
</tr>
</table>
It is a simple little table with [item-list][/item-list] surrounding the
table cells for [item-code], [item-quantity], and [item-price]. Thats it.
I'm going to post this to the list for anyone else who might need it.
Happy Minivending
Jayme Frye
P.S. Did you pay for the whole Shelley Taylor and Associates report?
Ryan Hertz wrote:
>
> Hey, what a great looking minivend! I did notice one thing in your
> checkout page:
>
> <SELECT name="mv_credit_card_exp_year">
> <OPTION VALUE=99 > 1999
> <OPTION VALUE=00 > 2000
> <OPTION VALUE=01 > 2001
> <OPTION VALUE=02 > 2002
> <OPTION VALUE=03 > 2003
> <OPTION VALUE=03 > 2004
> <OPTION VALUE=03 > 2005
> </SELECT>
>
> 2004 and 2005 are not returning an accurate value. :-) Could you fill
> me in on some details about having the basket display on every page?
>
> -Ryan
>
> At 03:29 PM 3/8/99 , Ceres wrote:
> >****** message to minivend-users from Ceres <jfrye@ehg.net> ******
> >
> >Ryan,
> >
> > I have a basket display of sorts on every page of my development site.
> >No frames. Point your browser to http://com1.ehg.net/cgi-bin/hgdev. If
> >this is what your looking for I'll cough up the code ;-)
> >
> >Happy Minivending
> >Jayme Frye
> >
> >Ryan Hertz wrote:
> >>
> >> ****** message to minivend-users from Ryan Hertz
> <rhertz@gyb.baits.com> ******
> >>
> >> At 06:08 PM 3/6/99 , Kris Kelley wrote:
> >> >****** message to minivend-users from "Kris Kelley"
> >> <sysadmin@jahoopa.com> ******
> >> >
> >> >My apologies for repeating this, but nobody answered me the first
> >> >time, and it's kinda important.
> >>
> >> I'm interested in this technique of displaying the basket on
> every page
> >> after reading a report by "Shelley Taylor and Associates."
> >>
> >> http://www.infofarm.com/html/25_february_1999.html
> >> The study mentions the use of showing the contents of the basket
> on every
> >> page. This is something that I do with the use of frames, however, I'm
> >> interested in the possibility of accomplishing the same without frames.
> >>
> >> >
> >> >Right now, the plans for a web store that I'm involved with don't call
> >> >for an independent shopping cart display page. Instead, the contents
> >> >of the customer's shopping cart will be displayed (and manipulated) on
> >> >the item display pages, the kind generated on the fly when the "[page
> >> >(item code)][/page]" link is followed.
> >> >
> >> >How can I insure, without the use of frames, that the same page will
> >> >be displayed after a customer has changed his/her shopping cart? It
> >> >didn't look like setting the form value "mv_orderpage" to [page [item-
> >> >code]] would work.
> >>
> >> I have not tried that, but it is possible that it would work.
> You could
> >> keep the basket page and make sure that the links out (perhaps "return to
> >> shopping") would point at the previous page held in HTTP_REFERER.
> >>
> >> >
> >> >Thanks ---Kris Kelley
> >>
> >> Ryan Hertz tel 520-645-3812
> >> Webmaster tel 800-645-BAIT
> >> Advertising Director fax 520-645-2588
> >> Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
> >> -
> >> 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
> >
> >--
> >Jayme Frye
> >Sys Admin
> >Epsen Hillmer Graphics Co.
> >402-342-7000
> > jfrye@ehg.net
> >-
> >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
> >
>
> Ryan Hertz tel 520-645-3812
> Webmaster tel 800-645-BAIT
> Advertising Director fax 520-645-2588
> Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
--
Jayme Frye
Sys Admin
Epsen Hillmer Graphics Co.
402-342-7000
jfrye@ehg.net
-
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