Re: Multiple products Multiple price
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32432
interpreted = N
texte = People normally have the user select the size when they first add the item to theircart... like on most peoples' results.tpl.(See one of mine for an example- http://www.feeling-goods.com/ - find a product withmore than 1 size and add it to your cart... you want it like that?)What you want is to get the size data into one of the TextN slots... like TextA. Ifyou do not know what I mean by that, then please read about webcat's orderfile here-http://betadoc.smithmicro.com/OrderFileFormat.html(since the 3.x docs version is broken for this page right now.)Someone adds an item to his cart and that info gets stored in the orderfile - in thelineitems. Using TextA-E you can store changeable user-selected options like size,etc. Once you manage that then you can calculate price by doing a lookup into variouspriceN fields in your products.db based on the size the user inputs.If all this is waaaay over your head, then you may need to back up a little... haveyou done the tutorial? Have read thru even once to start to see how tea room works?Glad to help but you have to do some homework otherwise I could go on and on and itstill wouldn't help you better than the docs which have already been made to get yougoing...:-)-JohnCraig Forest wrote:> The prices are all over the map. What I am dealing with is two prices per> item, one for small, and one for large. I would like to be able to select> the size in a pop up menu on the shopping cart page and have the price show> up on the invoice page. I don't have a clue how to do this but any help> would be greatly appreciated.>> > From: John Butler
> > Reply-To: (WebCatalog Talk)> > Date: Sat, 27 May 2000 19:12:46 -0600> > To: (WebCatalog Talk)> > Subject: Re: Multiple products Multiple price> >> > do the prices differ by a predicatable amount which you could handle with a> > formula?> > (then use the price formula)> > Or are they all over the map and not predictable? (then you can use multiple> > price1,> > price2, price3 ... fields in your product.db)> > see if this gets you on to something-> > http://www.smithmicro.com/WebDNAReference/FormulaFormat.html> >> > Craig Forest wrote:> >> >> Hi,> >>> >> I have a situation were the item has multiple sizes and mulitple prices for> >> the same sku. Does anybody have any examples or sample code that would help> >> me solve this problem because I cannot seem to figure it out myself.> >>> >> Any help with this matter would be greatly appreciated> >>> >> with regards,> >>> >> Craig> >>> >> -------------------------------------------------------------> >> 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/>> -------------------------------------------------------------> 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:
People normally have the user select the size when they first add the item to theircart... like on most peoples' results.tpl.(See one of mine for an example- http://www.feeling-goods.com/ - find a product withmore than 1 size and add it to your cart... you want it like that?)What you want is to get the size data into one of the TextN slots... like TextA. Ifyou do not know what I mean by that, then please read about webcat's orderfile here-http://betadoc.smithmicro.com/OrderFileFormat.html(since the 3.x docs version is broken for this page right now.)Someone adds an item to his cart and that info gets stored in the orderfile - in thelineitems. Using TextA-E you can store changeable user-selected options like size,etc. Once you manage that then you can calculate price by doing a lookup into variouspriceN fields in your products.db based on the size the user inputs.If all this is waaaay over your head, then you may need to back up a little... haveyou done the tutorial? Have read thru even once to start to see how tea room works?Glad to help but you have to do some homework otherwise I could go on and on and itstill wouldn't help you better than the docs which have already been made to get yougoing...:-)-JohnCraig Forest wrote:> The prices are all over the map. What I am dealing with is two prices per> item, one for small, and one for large. I would like to be able to select> the size in a pop up menu on the shopping cart page and have the price show> up on the invoice page. I don't have a clue how to do this but any help> would be greatly appreciated.>> > From: John Butler > > Reply-To: (WebCatalog Talk)> > Date: Sat, 27 May 2000 19:12:46 -0600> > To: (WebCatalog Talk)> > Subject: Re: Multiple products Multiple price> >> > do the prices differ by a predicatable amount which you could handle with a> > formula?> > (then use the price formula)> > Or are they all over the map and not predictable? (then you can use multiple> > price1,> > price2, price3 ... fields in your product.db)> > see if this gets you on to something-> > http://www.smithmicro.com/WebDNAReference/FormulaFormat.html> >> > Craig Forest wrote:> >> >> Hi,> >>> >> I have a situation were the item has multiple sizes and mulitple prices for> >> the same sku. Does anybody have any examples or sample code that would help> >> me solve this problem because I cannot seem to figure it out myself.> >>> >> Any help with this matter would be greatly appreciated> >>> >> with regards,> >>> >> Craig> >>> >> -------------------------------------------------------------> >> 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/>> -------------------------------------------------------------> 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/
John Butler
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:
webcat- multiple selection in input field (1997)
Country & Ship-to address & other fields ? (1997)
Online reference (1997)
Can you do this??? and other stuff (1997)
Introduction/Tutorial/QuickStart (1997)
A little syntax help (1997)
ReadDateFormat bug in 3.x (1998)
Limiting user access to .tmpl files (1997)
Most Recent version of WebDNA For RH ES (2006)
Help! WebCat2 bug (1997)
VCF Card (1998)
Extended [ConvertChars] (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
syntax question, not in online refernce (1997)
Internet Advancement (2003)
DBServer.exe (2003)
Shopping with Accounts (2003)
Running a store on BOTH http and https (1998)
[delete] problem (1997)
Help! WebCat2 bug (1997)