quantity minimum problem

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12369
interpreted = N
texte = I am moving along with our store, but have run into an invoice problems and lineindex.We have a special price for bulk orders on certain items. I am trying to figure out how to make it so that the [quantity] has to be a certain minimum when ordering the discount items.On my cart.tmpl page, I have the following entered so that purchaser will automatically have 50 or 40 in the quantity box, depending on the sku-item.This works fine. However, problems happen when moving on to the invoice.tmpl page.To make sure that the customer did not re-enter a number lower than 50 or 40 respectively, I put the following WEBDNA on the invoice.tmpl page in the lineindex [quantity] area.[showif [sku]=101&[quantity]<50]50[/showif][showif [sku]=201&[quantity]<40]40[/showif]Obviously I am programming something wrong because it gives me 5040 as a result in the invoice page.Please advise.Kevin Associated Messages, from the most recent to the oldest:

    
  1. Re: quantity minimum problem (Grant Hulbert 1997)
  2. Re: quantity minimum problem (Kevin Furuta 1997)
  3. Re: quantity minimum problem (Grant Hulbert 1997)
  4. Re: quantity minimum problem (Kevin Furuta 1997)
  5. Re: quantity minimum problem (Grant Hulbert 1997)
  6. Re: quantity minimum problem (Kevin Furuta 1997)
  7. Re: quantity minimum problem (Kenneth Grome 1997)
  8. quantity minimum problem (Kevin Furuta 1997)
I am moving along with our store, but have run into an invoice problems and lineindex.We have a special price for bulk orders on certain items. I am trying to figure out how to make it so that the [quantity] has to be a certain minimum when ordering the discount items.On my cart.tmpl page, I have the following entered so that purchaser will automatically have 50 or 40 in the quantity box, depending on the sku-item.This works fine. However, problems happen when moving on to the invoice.tmpl page.To make sure that the customer did not re-enter a number lower than 50 or 40 respectively, I put the following WEBDNA on the invoice.tmpl page in the lineindex [quantity] area.[showif [sku]=101&[quantity]<50]50[/showif][showif [sku]=201&[quantity]<40]40[/showif]Obviously I am programming something wrong because it gives me 5040 as a result in the invoice page.Please advise.Kevin Kevin Furuta

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:

problems with 2 tags shakur (1997) Major bug report on rootbeer (1997) Setting up the server (1997) suffix mapping for NT? (1997) no global [username] or [password] displayed ... (1997) Emailer and encryption (1997) SSL and reg web* (1997) month from number (2005) WebCatalog2 Feature Feedback (1996) WebDNA Examples (Was Suggestions) (1998) [WriteFile] problems (1997) [OT] Unix question (2002) Sort Order on a page search (1997) Re:listfiles-looking for slick solution (1997) Cart Database (1999) WebCatalog 4 Install Problems - Not Answered ?? (2000) RE: Deafness (1998) Weird happenings when viewing in IE 3.02 (1998) [Sum] function? (1997) For those of you not on the WebCatalog Beta... (1997)