Re: Variable Prices

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19548
interpreted = N
texte = I am a still new to this, but I think I do have the same WebDNA on each template.Listed below is my shopping cart template which displays the correct markup and below that is listed the resutls template that only shows the price with out the markup.Hopefully someone can see what I am doing worng.####### shoppingcart.tpl listed below ###### ShoppingCart

Your Shopping Cart

You have just added an item to your shopping cart. From here, you may press your browser's Go Back button to see the page you just came from. If you are done shopping, please fill in the quantities of product you would like to buy, choose a shipping method, and then click Proceed to Final Checkout.

Your Shopping Cart Contains the Following Items

[lineItems] [/lineItems] $[subTotal]
SKUTitleQtyPriceQty*PriceHandling Charge
[sku][title]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost]Remove Item [lineIndex]
Subtotal
Shipping: Ship product to this zip code:
[include ../PageEditor] ####### end of shoppingcart.tpl ######### ####### results.tpl listed below ######### Results

[include RandomAd.inc]


[showif [searchTitle]=All]

All Items in the Catalog

[/showif] [hideif [searchTitle]=All]

Your search for '[searchTitle]' found [numFound] items

[/hideif]

[foundItems] [/foundItems]
TitleProduct Info.Price
[showif [hasPhoto]=T][/showif][title][description]$[format .2f][price][/format]
[shownext]Show Items [start]-[end]
[/shownext] Show Shopping Cart
[Include TOCLink.inc]
[include ../PageEditor] ######### end of results.tpl #############PCS Technical Support wrote:> >Thanks for the info. However, this only works on the ShoppingCart.tpl and > >Invoice.tpl. > >I would like to have it working on the results.tpl and detail.tpl also. > >Any suggestions???? > > Sure, copy that WebDNA onto those pages as well. > > Technical Support | ==== eCommerce and Beyond ==== > Pacific Coast Software | WebCatalog, WebMerchant, > 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > San Diego, CA 92128 | Typhoon > 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Variable Prices (PCS Technical Support 1998)
  2. Re: Variable Prices (Mark Bergkvist 1998)
  3. Re: Variable Prices (PCS Technical Support 1998)
  4. Re: Variable Prices (Mark Bergkvist 1998)
  5. Re: Variable Prices (PCS Technical Support 1998)
  6. Variable Prices (Mark Bergkvist 1998)
  7. Re: Variable prices and Formulas.db (Grant Hulbert 1997)
  8. Variable prices and Formulas.db (Austin H. Spiegelman 1997)
I am a still new to this, but I think I do have the same WebDNA on each template.Listed below is my shopping cart template which displays the correct markup and below that is listed the resutls template that only shows the price with out the markup.Hopefully someone can see what I am doing worng.####### shoppingcart.tpl listed below ###### ShoppingCart

Your Shopping Cart

You have just added an item to your shopping cart. From here, you may press your browser's Go Back button to see the page you just came from. If you are done shopping, please fill in the quantities of product you would like to buy, choose a shipping method, and then click Proceed to Final Checkout.

Your Shopping Cart Contains the Following Items

[ipaddress]> [cart]> [lineitems] [/lineItems] $[subTotal]
SKUTitleQtyPriceQty*PriceHandling Charge
[sku][title]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost][cart]>Remove Item [lineIndex]
Subtotal
Shipping: Ship product to this zip code:
[include ../PageEditor] ####### end of shoppingcart.tpl ######### ####### results.tpl listed below ######### Results

[include RandomAd.inc]


[showif [searchTitle]=All]

All Items in the Catalog

[/showif] [hideif [searchTitle]=All]

Your search for '[searchTitle]' found [numFound] items

[/hideif]

[founditems] [/foundItems]
TitleProduct Info.Price
[showif [hasPhoto]=T][platform]]/WebCatalog/Art/[/showif]GSImages/[PhotoName] ALIGN=LEFT BORDER=0>[/showif][title][description]$[format .2f][price][/format][url][sku][/url]&cart=[cart]>[url][sku][/url]&cart=[cart]>
[shownext]Show Items [start]-[end]
[/shownext] [cart]>Show Shopping Cart
[Include TOCLink.inc]
[include ../PageEditor] ######### end of results.tpl #############PCS Technical Support wrote:> >Thanks for the info. However, this only works on the ShoppingCart.tpl and > >Invoice.tpl. > >I would like to have it working on the results.tpl and detail.tpl also. > >Any suggestions???? > > Sure, copy that WebDNA onto those pages as well. > > Technical Support | ==== eCommerce and Beyond ==== > Pacific Coast Software | WebCatalog, WebMerchant, > 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > San Diego, CA 92128 | Typhoon > 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Mark Bergkvist

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:

WCS Newbie question (1997) [what] [am] [I] [missing]? (2003) can't find the pdf (1999) Pithy questions on webcommerce & siteedit (1997) Question about replacing words (1998) Summing fields (1997) Sorting by highest number of matches unique to a field (2003) New reserved words for [tags] (2000) Nested tags count question (1997) why won't this work, please tell me??? (2001) WebCatalog NT beta 18 problem (1997) search form problem.. (1997) Problem with empty form-variables in [search] (1998) alternate location for cookies (2001) [ShowCart] and GET vs. POST (1997) new cart IDs being assigned somehow (1997) [WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019) old cart file deletion (2000) adding shipping cost (1998) RE: Clearing orders and database help! (1997)