Re: Adding freight and percentages

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32514
interpreted = N
texte = Martin, You have several problems to solve. Try tackling them one at a time.I don't want to sound unsympathetic to a newbie (I'm only a half-step ahead of you anyway), but study both the PDF and HTML docs as you work your way through the General Store example. That'll help you understand WC better and also help you articulate your problems more clearly.For the Search problem, tell us what you're searching for. (You don't have to use a Search to use Formulas.)The General Store example uses Searches to find items and also includes the use of the Formulas database. on 05/31/00 8:18 AM, Martin Mansly at marty@mapleton.com wrote:> Hi Web Catters, > > I understand how BASIC Webcat works and have been trying to > change the freight method in the General Store and > have been messing with the shipping and formulas, yet to no avail. > > I want the shipping to be based on a simple db first, > based on price: > > SubTotal Shipping > 10 3.00 > 20 5.00 > 40 6.00 > 50 7.00 > 60 8.00 > 80 9.00 > > Then I want it to look at the method > selected in the pull down menu: > 2 Day adds 30% to the Subtotal > 3 day adds 15% to the SubtotalSee if you can attack that problem from a different direction. Maybe a Showif or Hideif would be a more convenient way to solve it.For the Formula problem, post ALL of the Formulas database so we can take a look at the whole thing. Also post ALL the code from any page that uses the formulas. > I don't get how to write the search and then > do the formula to make it carry to the invoice.tpl > and then to the emails.It's not necessary to search for that info to get it into the invoice.tpl or email. Look at bit closer at the General Store example and the explanation of it in the PDF docs. It's all explained there.Unless I misunderstand your statement (and I just may), you're trying to search for info from a new order to add to email. Info is usually written to email without using Search, but you may have a unique situation that calls for that.Good luck, Glenn------------------------------------------------------------- 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: Adding freight and percentages (John Peacock 2000)
  2. Re: Adding freight and percentages (Martin Mansly 2000)
  3. Re: Adding freight and percentages (Glenn Busbin 2000)
  4. Adding freight and percentages (Martin Mansly 2000)
Martin, You have several problems to solve. Try tackling them one at a time.I don't want to sound unsympathetic to a newbie (I'm only a half-step ahead of you anyway), but study both the PDF and HTML docs as you work your way through the General Store example. That'll help you understand WC better and also help you articulate your problems more clearly.For the Search problem, tell us what you're searching for. (You don't have to use a Search to use Formulas.)The General Store example uses Searches to find items and also includes the use of the Formulas database. on 05/31/00 8:18 AM, Martin Mansly at marty@mapleton.com wrote:> Hi Web Catters, > > I understand how BASIC Webcat works and have been trying to > change the freight method in the General Store and > have been messing with the shipping and formulas, yet to no avail. > > I want the shipping to be based on a simple db first, > based on price: > > SubTotal Shipping > 10 3.00 > 20 5.00 > 40 6.00 > 50 7.00 > 60 8.00 > 80 9.00 > > Then I want it to look at the method > selected in the pull down menu: > 2 Day adds 30% to the Subtotal > 3 day adds 15% to the SubtotalSee if you can attack that problem from a different direction. Maybe a Showif or Hideif would be a more convenient way to solve it.For the Formula problem, post ALL of the Formulas database so we can take a look at the whole thing. Also post ALL the code from any page that uses the formulas. > I don't get how to write the search and then > do the formula to make it carry to the invoice.tpl > and then to the emails.It's not necessary to search for that info to get it into the invoice.tpl or email. Look at bit closer at the General Store example and the explanation of it in the PDF docs. It's all explained there.Unless I misunderstand your statement (and I just may), you're trying to search for info from a new order to add to email. Info is usually written to email without using Search, but you may have a unique situation that calls for that.Good luck, Glenn------------------------------------------------------------- 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/ Glenn Busbin

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:

Need relative path explanation (1997) Forcing Search w/ URL (1999) Keep away (1997) controlling form elements (slightly OT) (2003) Re:listfiles-looking for slick solution (1997) Now you see it now you donīt (1997) Re:[off] Promotions Co? (1997) Email within tmpl ? (1997) Active Server Code... (1998) Cart ID Duplication (2001) Setting up shop (1997) If Empty ? (1997) For you Unix gurus [OT] (2002) multiple price line in formula.db (2004) RE: Error -108 (1997) Beta (?) version of WebCatalog 2.1 (1998) RE: WebCat and image maps (1997) FEW QUESTIONS (1997) webcat NT with [dos] command (1997) [WebDNA] test (2009)