Re: Almost There But? WebCat Keeps Changing Cart Numbers onMe!

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43410
interpreted = N
texte = Check your code very carefully. I would bet you are not passing the cart somewhere. One way to do this is to clear the shopping carts directory, then start shopping, watch the directory, it should only have the current cart file... when you see a new cart file appear, stop and find the problem... It will be on that page.- CharlesOn 9/13/02 11:51 PM, citizen wrote:> Hey WebCaters, > > Its been awhile since I posted a question to the list....so if this > question has been answered in the interm, please accept my sincerest > apologies. > > Well, I thought I was almost there and then KABOOOOOOOOOOOOM! WebCat > gets a fit and starts dumping carts and picking up new cart numbers. > This leads to the elimination of previously purchased items. The real > problem is my ignorance. > > So, if any of you expert WebCat Sherlocks would like to give me a few > tips to help me solve this problem, I would be ever so grateful. > > I've slightly modified the shopping cart storebuilder so that it does a > few more things. The main thing was to have a page with a list of > products that can be accessed rather than have to search for everything. > > Thus, I added to the title.inc page the following > > > > href=A.tpl?cart=[cart]>A > href=B.html?cart=[cart]>B > etc. etc. etc. to > > href=Z.html?cart=[cart]>Z > color=green>Product Name > > > This gives me a link to pages under the main banner that looks like this > > Home View Cart Site Map Contact Us Login About Us > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9 Product Name > > By clicking on A, > > http://www.WidgetCompany.com/A.tpl?cart=1031968304114478 > > all of the products that start with A are listed on the page A.tpl. Some > example code follows > > > href=default.tpl?action=full&[CART]&--wsLONG_DESCRIPTIONdatarq=A Guide > For Parents Book Herbs For Kids Literature>A Guide For Parents Book > Herbs For Kids Literature
> href=default.tpl?action=full&[CART]&--wsLONG_DESCRIPTIONdatarq=Acacia > Flowers Whole Botanical Herbs>Acacia Flowers Whole Botanical > Herbs
> > Choosing the title of a product gives you the following in the browser > > http://www.WidgetCompany.com/default.tpl?action=full&1031968841114602&--wsL > ONG_DESCRIPTIONdatarq=A%20Guide%20For%20Parents%20Book%20Herbs%20For%20Kids > %20Literature > > This brings up the Full Page. And Buying it brings one back to the home > page. > > http://www.WidgetCompany.com/default.tpl > > If I then check the cart.....the product is there. > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > Now if I use the search comand I can add products to the cart without a > problem. > > http://www.WidgetCompany.com/default.tpl?cart=1031968304114478&startat=1&-- > GROUP1field=TITLE&--waGROUP1datarq=tofu > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > http://www.WidgetCompany.com/default.tpl?cart=1031968304114478&startat=1&-- > GROUP1field=TITLE&--waGROUP1datarq=soy > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > However, when I go back to the A.tpl page to find products to buy the > problem happens. > > http://www.WidgetCompany.com/A.tpl?cart=1031968304114478 > > I've clicked on the A.tpl page and it keeps the same cart number so far. > > I next click on the URL below. > > http://www.WidgetCompany.com/default.tpl?action=full&1031968841114602&--wsL > ONG_DESCRIPTIONdatarq=A%20Guide%20For%20Parents%20Book%20Herbs%20For%20Kids > %20Literature > > The Full page comes up and I buy the product adding it to the cart. > After hitting the Buy button, the browser takes me to the Home Page > Specials (By the way,...just a side question.....how can I prevent this > from happening? I want the page to stay just where it is...not jump to > the home page specials.) > > http://www.WidgetCompany.com/default.tpl > > I next click on the view cart. > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968841114602 > > Arghhhhhhhhhhhhhhhhhh! There is a new Cart number....the previously > bought items have been dumped. And the single new item took their place. > > Every time I go back to the A.tpl page to add a different product, I get > a new cart number....it dumps the previous product that was there.....and > I then I have the new product. I am not able to add more then one > product to the cart unless I find the product via the search command > method and then add it that way. > > Using A.tpl, B.tpl, C.tpl etc. with products listed on them with the HTML > listed above always has WebCat giving me a New Cart Number which of > course dumps any product that was already in the cart. > > Again, my deepest thanks to anyone who can get me out of this mess and > point me in the right direction. > > Thanks, > > Scott > > > ------------------------------------------------------------- > 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: Almost There But? WebCat Keeps Changing Cart Numbers onMe! (Michael Davis 2002)
  2. Re: Almost There But? WebCat Keeps Changing Cart Numbers onMe! (NovaDerm Skincare Science 2002)
  3. Re: Almost There But? WebCat Keeps Changing Cart Numbers onMe! (charles kline 2002)
Check your code very carefully. I would bet you are not passing the cart somewhere. One way to do this is to clear the shopping carts directory, then start shopping, watch the directory, it should only have the current cart file... when you see a new cart file appear, stop and find the problem... It will be on that page.- CharlesOn 9/13/02 11:51 PM, citizen wrote:> Hey WebCaters, > > Its been awhile since I posted a question to the list....so if this > question has been answered in the interm, please accept my sincerest > apologies. > > Well, I thought I was almost there and then KABOOOOOOOOOOOOM! WebCat > gets a fit and starts dumping carts and picking up new cart numbers. > This leads to the elimination of previously purchased items. The real > problem is my ignorance. > > So, if any of you expert WebCat Sherlocks would like to give me a few > tips to help me solve this problem, I would be ever so grateful. > > I've slightly modified the shopping cart storebuilder so that it does a > few more things. The main thing was to have a page with a list of > products that can be accessed rather than have to search for everything. > > Thus, I added to the title.inc page the following > > > > href=A.tpl?cart=[cart]>A > href=B.html?cart=[cart]>B > etc. etc. etc. to > > href=Z.html?cart=[cart]>Z > color=green>Product Name > > > This gives me a link to pages under the main banner that looks like this > > Home View Cart Site Map Contact Us Login About Us > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9 Product Name > > By clicking on A, > > http://www.WidgetCompany.com/A.tpl?cart=1031968304114478 > > all of the products that start with A are listed on the page A.tpl. Some > example code follows > > > href=default.tpl?action=full&[cart]&--wsLONG_DESCRIPTIONdatarq=A Guide > For Parents Book Herbs For Kids Literature>A Guide For Parents Book > Herbs For Kids Literature
> href=default.tpl?action=full&[cart]&--wsLONG_DESCRIPTIONdatarq=Acacia > Flowers Whole Botanical Herbs>Acacia Flowers Whole Botanical > Herbs
> > Choosing the title of a product gives you the following in the browser > > http://www.WidgetCompany.com/default.tpl?action=full&1031968841114602&--wsL > ONG_DESCRIPTIONdatarq=A%20Guide%20For%20Parents%20Book%20Herbs%20For%20Kids > %20Literature > > This brings up the Full Page. And Buying it brings one back to the home > page. > > http://www.WidgetCompany.com/default.tpl > > If I then check the cart.....the product is there. > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > Now if I use the search comand I can add products to the cart without a > problem. > > http://www.WidgetCompany.com/default.tpl?cart=1031968304114478&startat=1&-- > GROUP1field=TITLE&--waGROUP1datarq=tofu > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > http://www.WidgetCompany.com/default.tpl?cart=1031968304114478&startat=1&-- > GROUP1field=TITLE&--waGROUP1datarq=soy > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968304114478 > > Has Product! > > However, when I go back to the A.tpl page to find products to buy the > problem happens. > > http://www.WidgetCompany.com/A.tpl?cart=1031968304114478 > > I've clicked on the A.tpl page and it keeps the same cart number so far. > > I next click on the URL below. > > http://www.WidgetCompany.com/default.tpl?action=full&1031968841114602&--wsL > ONG_DESCRIPTIONdatarq=A%20Guide%20For%20Parents%20Book%20Herbs%20For%20Kids > %20Literature > > The Full page comes up and I buy the product adding it to the cart. > After hitting the Buy button, the browser takes me to the Home Page > Specials (By the way,...just a side question.....how can I prevent this > from happening? I want the page to stay just where it is...not jump to > the home page specials.) > > http://www.WidgetCompany.com/default.tpl > > I next click on the view cart. > > http://www.WidgetCompany.com/checkout.tpl?cart=1031968841114602 > > Arghhhhhhhhhhhhhhhhhh! There is a new Cart number....the previously > bought items have been dumped. And the single new item took their place. > > Every time I go back to the A.tpl page to add a different product, I get > a new cart number....it dumps the previous product that was there.....and > I then I have the new product. I am not able to add more then one > product to the cart unless I find the product via the search command > method and then add it that way. > > Using A.tpl, B.tpl, C.tpl etc. with products listed on them with the HTML > listed above always has WebCat giving me a New Cart Number which of > course dumps any product that was already in the cart. > > Again, my deepest thanks to anyone who can get me out of this mess and > point me in the right direction. > > Thanks, > > Scott > > > ------------------------------------------------------------- > 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/ charles kline

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:

Correction: shipCost (2000) Need help... (1997) Now you see it now you don´t (1997) European Convention (2004) WebDNA Life Cycle (was Form POSTing with LONG variable) (2007) StoreBuilder UPS/XML code question ... (2003) [Replace] really replaces? (2000) OT: Need some feedback, please. (2003) Server Creation - vendors (2005) WebDNA-Talk Digests (1997) [SHOWIF] (1997) [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (2009) RE: How to verify email address (1997) watch out for format_to_days on NT (1997) RE: [WebDNA] Talklist Archive & Twitter (2009) The USArea® Network web site ... (1997) Record size-suggestion (1998) WebCatalog can't find database (1997) Database Fields (1997) Search Engine questions ... (2002)