Re: sku, title, price not showing up
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20712
interpreted = N
texte = You visit the results page as the result of a search. Inside the[founditems] loop you can view all the fields for a record in the databasethat was found. Your shopping cart page, however, is set up to be linked towith a add (or similar) command. It doesn't look in the database. The[lineitems] loop just shows items added to your cart. My guess is that justthe title is missing in the shopping cart page since that variable isn'tstored in the shopping cart file - only the sku and price. Does this soundcorrect.John.I've setup a second site within webCat where I can experiement withdifferent contexts or commands. Could someone tell me why the sku, title,and price do not to show up on shoppingcart.tpl. They appear just fine onmy results.tpl. Here is the code I'm using for both the results.tpl andshoppingCart.tpl. Results.tpl--
[foundItems] SKU: [sku]
Title: [title]
Price: [format .2f][price][/format]
Addto Shopping Cart
This is a test
[/foundItems]ShoppingCart.tpl-- [lineItems] SKU: [sku]
Title: [title]
Price: [format .2f][price][/format] [/lineItems]Thanks, Rob Ruth John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
You visit the results page as the result of a search. Inside the
[founditems] loop you can view all the fields for a record in the databasethat was found. Your shopping cart page, however, is set up to be linked towith a add (or similar) command. It doesn't look in the database. The
[lineitems] loop just shows items added to your cart. My guess is that justthe title is missing in the shopping cart page since that variable isn'tstored in the shopping cart file - only the sku and price. Does this soundcorrect.John.I've setup a second site within webCat where I can experiement withdifferent contexts or commands. Could someone tell me why the sku, title,and price do not to show up on shoppingcart.tpl. They appear just fine onmy results.tpl. Here is the code I'm using for both the results.tpl andshoppingCart.tpl. Results.tpl--
[founditems] SKU: [sku]
Title: [title]
Price: [format .2f][price][/format]
[url][sku][/url]&cart=[cart]>Addto Shopping Cart
This is a test
[/foundItems]ShoppingCart.tpl--
[lineitems] SKU: [sku]
Title: [title]
Price: [format .2f][price][/format] [/lineItems]Thanks, Rob Ruth John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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:
MacAutorize and T1 (1998)
There's a bug in the math context ... (1997)
Not really WebCat (1997)
Webcat table size. (2001)
[WebDNA] WebDNA crash and now emailer not working (2009)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
[WebDNA] .htm files (2008)
Ampersand (1997)
How to redirect based on price subtotal? (1998)
Running _every_ page through WebCat ? (1997)
Random again (2003)
Problems adding stuff to the shopping cart. (1997)
Order not created error (never mind) (1997)
2nd try: possible to weight results of grouped fieldssearch? (1998)
Separate SSL Server (1997)
The List is Changing (1997)
Tab Charactor (1997)
Sorting by date (1997)
Hard Questions ? (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)