[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [item-list] Problem/Question
Miles,
I worked through this same problem some months back. My best
explanation of what is going on is that the flypage is a special case.
Notice you don't have am [item-list][/item-list] container tag set on
this page, however you can use all the [item-list] bound tags. The
flypage acts as its own [item-list] and takes precedence. So if you
embed an additional [item-list] container on the page the container will
hold the same data as the flypage.
Now for the workaround. The solution I came up with was to put my
mini-cart display in a separate html page with other navigational
elements. Then use [include /your/page/path/here]. This parses with the
current cart contents gets inserted then the flypage is parsed. To see
an example point your browser to http://com1.ehg.net/cgi-bin/hgdev2
Happy Minivending
Jayme Frye
Webmaster
Epsen Hillmer Graphics Co.
jfrye@ehg.net
Miles Eddins wrote:
>
> ****** message to minivend-users from Miles Eddins <miles_eddins@hotmail.com> ******
>
> Hi All,
>
> I'm trying to set my pages up so that the user always sees the quantities
> and names of the items they have in their shopping basket written out in a
> small font to a table cell in the "standard" left-aligned navigation column.
> I want this to appear on every page. I put this code on my "test.html" page
> and everything seemed to be working fine:
>
> [if items]
> [then]
> [item-list]
> [item-quantity] [item-description]
> [/item-list]
> [/then]
> [else]
> Your shopping cart is empty.
> [/else]
> [/if]
>
> Then I began customizing browse1.html and flypage.html. I put the above code
> in these pages, but instead of displaying what's in the shopping basket,
> this code writes out the product information for the product featured on the
> browse1.html and flypage.html pages. The only substantive changes I made to
> flypage.html and browse1.html was to add the above code.
>
> My understanding from the documentation is that [item-list] writes out the
> contents of the shopping basket, so how are the items on flypage.html and
> browse1.html "passively" getting in my shopping basket? When I return to
> "test.html" I'm back to the correct shopping cart items.
>
> What am I doing wrong here, and what should I do to fix this problem? Thanks
> for your help,
>
> Miles
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.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