Cart Template

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13103
interpreted = N
texte = Hi WebCat Techs,I trying to create a shopping cart template that will include a Price + Shipping&Handling column and then have this column summed up correctly in the grand total. To do this, I tried using the following math formula in the Price + Shipping&Handling column: $[format .2f][math]{shipcost]+[price][/math][/format]The [shipcost] is deternimed on our products page. Each product on our product page has two radio buttons. The first button is titled US and the second is named International. Our users will have to click on one of these buttons to determine their shipping cost. The name of the variables for both buttons are shipcost. The predefine values of the shipcost variable is then passed on to the cart template via a form.My problem is that I cannot get the grand-total on the cart template to reflect the correct answer when the products selected are itemized and summed up on the cart template. Is there a way to add the shipping cost for each product to the price and have it summed in the grand-total.Thanks in advance.Wayne M. Associated Messages, from the most recent to the oldest:

    
  1. RE: Cart Template (Marc Eagle 1997)
  2. RE: Cart Template (Wayne Morishige 1997)
  3. RE: Cart Template (Marc Eagle 1997)
  4. Cart Template (Wayne Morishige 1997)
Hi WebCat Techs,I trying to create a shopping cart template that will include a Price + Shipping&Handling column and then have this column summed up correctly in the grand total. To do this, I tried using the following math formula in the Price + Shipping&Handling column: $[format .2f][math]{shipcost]+[price][/math][/format]The [shipcost] is deternimed on our products page. Each product on our product page has two radio buttons. The first button is titled US and the second is named International. Our users will have to click on one of these buttons to determine their shipping cost. The name of the variables for both buttons are shipcost. The predefine values of the shipcost variable is then passed on to the cart template via a form.My problem is that I cannot get the grand-total on the cart template to reflect the correct answer when the products selected are itemized and summed up on the cart template. Is there a way to add the shipping cost for each product to the price and have it summed in the grand-total.Thanks in advance.Wayne M. Wayne Morishige

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:

Re:quit command on NT (1997) How far do [showif]s go? (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Need formatting help (1998) Browser (agent) stats... (2004) Multi-processor Mac info ... (1997) Shared databases (2003) Attention SMSI - DOCS Error (2004) [SearchString] problem with [search] context (1997) No luck with taxes (1997) [showif] / [hideif] (1997) Sorry I didn't pay attention-but ??? (1997) Alternating colors (1997) Re2: frames & carts (1997) [WebDNA] need webdna developer (2016) Problems with [Search] param - Mac Plugin b15 (1997) IE Cache Problems... (1999) Deleting Orders (1997) Database flushing does not work any more... (2000)