numero = 12369
interpreted = N
texte = I am moving along with our store, but have run into an invoice problems andlineindex.We have a special price for bulk orders on certain items. I am trying tofigure out how to make it so that the [quantity] has to be a certainminimum when ordering the discount items.On my cart.tmpl page, I have the following entered so that purchaser willautomatically have 50 or 40 in the quantity box, depending on the sku-item.This works fine. However, problems happen when moving on to theinvoice.tmpl page.To make sure that the customer did not re-enter a number lower than 50 or40 respectively, I put the following WEBDNA on the invoice.tmpl page in thelineindex [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 aresult in the invoice page.Please advise.Kevin
Associated Messages, from the most recent to the oldest:
I am moving along with our store, but have run into an invoice problems andlineindex.We have a special price for bulk orders on certain items. I am trying tofigure out how to make it so that the [quantity] has to be a certainminimum when ordering the discount items.On my cart.tmpl page, I have the following entered so that purchaser willautomatically have 50 or 40 in the quantity box, depending on the sku-item.This works fine. However, problems happen when moving on to theinvoice.tmpl page.To make sure that the customer did not re-enter a number lower than 50 or40 respectively, I put the following WEBDNA on the invoice.tmpl page in thelineindex [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 aresult in the invoice page.Please advise.Kevin
Kevin Furuta
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...