Re: StoreBuilder Shopping Cart
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32401
interpreted = N
texte = Here ya go....of course I'm only assuming this is where the problem is coming from
[hideif [url][formvariables name=--&exact=F][name][/formvariables][/url]=]
Search Results[search db=admin/products.db&max=20&startat=[startat]&eqVISIBLEdatarq=T&[formvariablesname=--&exact=f][getcharsstart=3][name][/getchars]=[url][value][/url]&[/formvariables]][founditems][showif [action]=full][include file=full.inc][/showif][hideif [action]=full][include file=brief.inc][/hideif][/founditems][shownext]
[/shownext][/search][/hideif]Kenneth Grome wrote:> Asking us to view pages in which we cannot see the code that's> causing the problem does not help us to help you to learn how to fix> the problem.>> If you want help, you're going to have to learn to post the actual> code from your templates when you ask for help, so we can see the bad> code and tell you how to fix it.>> And please don't try to skip the requirement of posting your actual> webdna code by telling us It's the same code as in the StoreBuilder> (or some other example created by SmithMicro) because we need to see> *your* code in order to help you resolve *your* problem ...>> :)>> >I figured out that the template was results.tpl. I changed the> >shownext to [shownext> >cart=[cart]] (of course I'm not sure this is the proper format).>> It's not. There are HTML docs you need to study and learn if you're> going to be successful with this software, you cannot rely on> examples which were probably never tested properly to begin with ...> :)>> >I've learned enough> >about webdna to get in trouble! Anyway that change had no effect.> >The cart will still> >empty the first item and replace it with the new item. This is a> >real problem.>> Post your code so we can find the problem suggest a permanent solution.>> >We have not made any modifications so I can only assume that> >StoreBuilder carried the> >bug from the master_store. Call me silly but I don't really think> >that a $3400 catalog> >software should have a bug that keeps customers from buying things!> >Unless of course> >it was only meant to have 20 items per section.> >> >If you would like to see first hand what it does, go to> >http://www.winnerscircleinc.com , click on products. Pick any> >section. Add an item> >to the cart, scroll to the bottom of the page, hit the 21-40> >button (or any button> >for that matter), pick another item and add it to the cart and watch> >what happens.> >> >WebDNA Support wrote:> >> >> >When a user selects a section, adds an item to the shopping cart and> >> >then goes to the next group (21-40) items in the same section and adds> >> >an item to the shopping cart, the second item added replaces the first> >> >item that is already in the cart. This only happens when adding items> >> >from the same section, next group. Going from section to section and> >> >adding items from the first group works fine.> >> >> >> >Anyone got any ideas??> >>> >> I think the shownext links on that template are missing the> >> cart=[cart] parameter, so a new cart is being generated each time.> >>> >> Technical Support **********************************> >> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> >> 16855 West Bernardo Drive, #380 | -------------------------> >> San Diego, CA 92127 | Software & Site Development> >> WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> >> Fax: (858) 675-0372 **********************************> >>> >> -------------------------------------------------------------> >> 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/>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> -------------------------------------------------------------> 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:
Here ya go....of course I'm only assuming this is where the problem is coming from[hideif [url][formvariables name=--&exact=F][name][/formvariables][/url]=]Search Results
[search db=admin/products.db&max=20&startat=[startat]&eqVISIBLEdatarq=T&[formvariablesname=--&exact=f][getcharsstart=3][name][/getchars]=[url][value][/url]&[/formvariables]][founditems][showif [action]=full][include file=full.inc][/showif][hideif [action]=full][include file=brief.inc][/hideif][/founditems][shownext][/shownext][/search][/hideif]Kenneth Grome wrote:> Asking us to view pages in which we cannot see the code that's> causing the problem does not help us to help you to learn how to fix> the problem.>> If you want help, you're going to have to learn to post the actual> code from your templates when you ask for help, so we can see the bad> code and tell you how to fix it.>> And please don't try to skip the requirement of posting your actual> webdna code by telling us It's the same code as in the StoreBuilder> (or some other example created by SmithMicro) because we need to see> *your* code in order to help you resolve *your* problem ...>> :)>> >I figured out that the template was results.tpl. I changed the> >shownext to [shownext> >cart=[cart]] (of course I'm not sure this is the proper format).>> It's not. There are HTML docs you need to study and learn if you're> going to be successful with this software, you cannot rely on> examples which were probably never tested properly to begin with ...> :)>> >I've learned enough> >about webdna to get in trouble! Anyway that change had no effect.> >The cart will still> >empty the first item and replace it with the new item. This is a> >real problem.>> Post your code so we can find the problem suggest a permanent solution.>> >We have not made any modifications so I can only assume that> >StoreBuilder carried the> >bug from the master_store. Call me silly but I don't really think> >that a $3400 catalog> >software should have a bug that keeps customers from buying things!> >Unless of course> >it was only meant to have 20 items per section.> >> >If you would like to see first hand what it does, go to> >http://www.winnerscircleinc.com , click on products. Pick any> >section. Add an item> >to the cart, scroll to the bottom of the page, hit the 21-40> >button (or any button> >for that matter), pick another item and add it to the cart and watch> >what happens.> >> >WebDNA Support wrote:> >> >> >When a user selects a section, adds an item to the shopping cart and> >> >then goes to the next group (21-40) items in the same section and adds> >> >an item to the shopping cart, the second item added replaces the first> >> >item that is already in the cart. This only happens when adding items> >> >from the same section, next group. Going from section to section and> >> >adding items from the first group works fine.> >> >> >> >Anyone got any ideas??> >>> >> I think the shownext links on that template are missing the> >> cart=[cart] parameter, so a new cart is being generated each time.> >>> >> Technical Support **********************************> >> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> >> 16855 West Bernardo Drive, #380 | -------------------------> >> San Diego, CA 92127 | Software & Site Development> >> WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> >> Fax: (858) 675-0372 **********************************> >>> >> -------------------------------------------------------------> >> 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/>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> -------------------------------------------------------------> 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/
Larry Cline
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:
Sendmail (2000)
REPOST: Large founditems loops (2000)
WebCat2b12 forgets serial # (1997)
serial number not working (1998)
Error.html (1997)
EMailFolder will not send (2003)
Help!!!! (1997)
[listfiles] with max? (2000)
listfiles shows invisible files ... (1999)
select multiple (1997)
StoreBuilder Shopping Cart (2000)
[ShowNext] feature in 2.0 (1997)
Simple Store (2000)
WebCatalog for Mac 2.0.1 Released (1997)
encrypt/decrypt (2001)
Online reference (1997)
Remove Multiple Line Items (2005)
WebCatalog2 Feature Feedback (1996)
WebCatalog2 Feature Feedback (1996)
Another question (1997)