Re: 'Carting' into Frames

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34697
interpreted = N
texte = There was a set of templates that came with WebCat that did this, they may be in the archives.Does anyone remember or have access to them? -- Stuart TremainDigital Imaging Division The Ad-Libitum Group 48 Victoria Street North Sydney 2060 Australia Phone: +612 9959 5633 Fax: +612 9929 4146email: stuartt@adlib.com.au http://www.adlib.com.auOn Friday, 14 July 2000, Tim Robinson wrote: >Hi there, > >I am trialling doing a shop in frames. What I want to do is, >after clicking the form's submit button to add items to cart: >* Main Frame - load a generic page with search options (no problem). >* TopRight Frame - load shopping cart (so that every time some >items are added to the cart, this will update and always be on the screen. >* BottomRight Frame - display just the current $ total of cart. > >I've trialled a javascript in the submit button of the form to >add items: > >Cart onClick=parent.cart.location='cart2.tpl'; >parent.total.location='total2.tpl'> > >where 'cart' and 'total' are the names of the new frames. > >The submitted form has this info: >
> > >So it updates three frames at once. This works in updating the >frames, but the 'cart' frame doesn't show any cart details, >just the headings of the table. > >The 'cart2.tpl' file in the 'cart' frame has an [AddLineItems] >context in it two add to cart, but I don't think this is being >actioned. > >Using a showcart command, it seems that nothing was actually >added to the cart. Is there a way of getting round this? Why >isn't the [AddLineItem] getting enacted in the other frame? Can >this not get passed to another frame? > >All help greatly appreciated. > >Regards, >Tim > >Tim Robinson >Art Director >imagine online >tim@imagine.au.com >http://www.imagine.au.com > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://search.smithmicro.com/ >------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: 'Carting' into Frames (Brian Boegershausen 2000)
  2. Re: 'Carting' into Frames (Stuart Tremain 2000)
  3. 'Carting' into Frames (Tim Robinson 2000)
There was a set of templates that came with WebCat that did this, they may be in the archives.Does anyone remember or have access to them? -- Stuart TremainDigital Imaging Division The Ad-Libitum Group 48 Victoria Street North Sydney 2060 Australia Phone: +612 9959 5633 Fax: +612 9929 4146email: stuartt@adlib.com.au http://www.adlib.com.auOn Friday, 14 July 2000, Tim Robinson wrote: >Hi there, > >I am trialling doing a shop in frames. What I want to do is, >after clicking the form's submit button to add items to cart: >* Main Frame - load a generic page with search options (no problem). >* TopRight Frame - load shopping cart (so that every time some >items are added to the cart, this will update and always be on the screen. >* BottomRight Frame - display just the current $ total of cart. > >I've trialled a javascript in the submit button of the form to >add items: > >Cart onClick=parent.cart.location='cart2.tpl'; >parent.total.location='total2.tpl'> > >where 'cart' and 'total' are the names of the new frames. > >The submitted form has this info: > >[cart]> > >So it updates three frames at once. This works in updating the >frames, but the 'cart' frame doesn't show any cart details, >just the headings of the table. > >The 'cart2.tpl' file in the 'cart' frame has an [AddLineItems] >context in it two add to cart, but I don't think this is being >actioned. > >Using a showcart command, it seems that nothing was actually >added to the cart. Is there a way of getting round this? Why >isn't the [addlineitem] getting enacted in the other frame? Can >this not get passed to another frame? > >All help greatly appreciated. > >Regards, >Tim > >Tim Robinson >Art Director >imagine online >tim@imagine.au.com >http://www.imagine.au.com > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://search.smithmicro.com/ >------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

My first ship table (1998) PIXO support (1997) Authenticate and IIS (1997) syntax question, not in online refernce (1997) [SHOWIF AND/OR] (1997) redirect from the errorsMessages.db entry (1997) two unique banners on one page (1997) Buying sans cart (1997) shipcost (1997) WebCatalog2 Feature Feedback (1996) Two prices in shoppingcart? (1997) Anybody using PayFlow Pro on OSX? (2004) Error Lob.db records error message not name (1997) Speaking of Rediret (2004) the dreaded unitShipCost (2003) searchable list archive (1997) WebCat2 beta 11 - new prefs ... (1997) Calculating UPS Shipping (1999) PCS Frames (1997) listfiles shows invisible files ... (1999)