Re: [WebDNA] Moving to Sandbox broke price
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101768
interpreted = N
texte = Is there any documentation that is newer than the 5.0 book I have now? Maybe I'm just not smart enough to get this stuff. I've read the "Replacing Commands with Contexts about a dozen times, but it's only about a page long. Does changing 'command' to 'action' do the trick?I checked and the old site is not using a formulas.db and I've changed about every pref I can see and nothing makes it work like the old one. The price works on the old site.If I make a sandbox, do I have to move it out of the sandbox folder to get it to function properly? The old site has been moved.I'm stumped.Tony Millertmiller@thehawkeye.comOn Jan 7, 2009, at 4:46 PM, Donovan Brooke wrote:> Tony Miller wrote:>> All,>> Can anyone see a problem with this code that would make the price >> not read properly after moving the TPL pages to a sandbox? The >> code works fine in the old location, but the price is $0 in the >> new location and hitting the back button adds another item to the >> page.>> Here's the code from the order page. It's just a webmerchant >> location right now and not using a sandbox:>> [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1]>> [foundItems]>> [showif [math]{[StartDate]}[/math]<[math]{[Date]}[/math]]>> [showif [math]{[EndDate]}[/math]>[math]{[Date]}[/math]]>>
[Name] | >> [Description] | >> $[Price] | >> >> Order |
>> [/showif]>> [/showif]>> [/founditems]>> [/search]>> =====================================================================>> Here's the code from the next page:>>
>> I'm learning that a bracket here and a double-quote there can make >> things act strange. On the final order page, it still has the >> price at $0.>> Thanks in advance.>> Tony Miller>> tmiller@thehawkeye.com>>> Hi Tony, couple ideas. If you are using a Formulas.db, you will > want to move that over as well. Also, you are using "old style" > commands (instead of contexts).. which are the "remove" and "add" > etc.. make sure those are allowed in the sandbox admin prefs.>> Donovan>>>>>> -- > Donovan D. Brooke PH/FAX: 1 (608) 770-3822> ----------------------------------------------> VP> WebDNA Software Corporation> 16192 Coastal Highway> Lewes, DE 19958> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Is there any documentation that is newer than the 5.0 book I have now? Maybe I'm just not smart enough to get this stuff. I've read the "Replacing Commands with Contexts about a dozen times, but it's only about a page long. Does changing 'command' to 'action' do the trick?I checked and the old site is not using a formulas.db and I've changed about every pref I can see and nothing makes it work like the old one. The price works on the old site.If I make a sandbox, do I have to move it out of the sandbox folder to get it to function properly? The old site has been moved.I'm stumped.Tony Millertmiller@thehawkeye.comOn Jan 7, 2009, at 4:46 PM, Donovan Brooke wrote:> Tony Miller wrote:>> All,>> Can anyone see a problem with this code that would make the price >> not read properly after moving the TPL pages to a sandbox? The >> code works fine in the old location, but the price is $0 in the >> new location and hitting the back button adds another item to the >> page.>> Here's the code from the order page. It's just a webmerchant >> location right now and not using a sandbox:>> [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1]>> [founditems]>> [showif [math]{[StartDate]}[/math]<[math]{[date]}[/math]]>> [showif [math]{[EndDate]}[/math]>[math]{[date]}[/math]]>> [Name] | >> [Description] | >> $[Price] | >> >> [cart]&SKU=[url][sku][/url]&quantity=1"> Order |
>> [/showif]>> [/showif]>> [/founditems]>> [/search]>> =====================================================================>> Here's the code from the next page:>> >> I'm learning that a bracket here and a double-quote there can make >> things act strange. On the final order page, it still has the >> price at $0.>> Thanks in advance.>> Tony Miller>> tmiller@thehawkeye.com>>> Hi Tony, couple ideas. If you are using a formulas.db, you will > want to move that over as well. Also, you are using "old style" > commands (instead of contexts).. which are the "remove" and "add" > etc.. make sure those are allowed in the sandbox admin prefs.>> Donovan>>>>>> -- > Donovan D. Brooke PH/FAX: 1 (608) 770-3822> ----------------------------------------------> VP> WebDNA Software Corporation> 16192 Coastal Highway> Lewes, DE 19958> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Tony Miller
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:
Help name our technology! I found it (1997)
Secure Server (1997)
[WriteFile] problems (1997)
WebCatalog not recognizing ShoppingCarts folder (2000)
A few questions. . . (1997)
Copyright ? (1997)
Debugging (2005)
Looking up two prices in database? (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Emailer (1997)
ImageMap (1997)
New Plug-in and Type 11 errors (1997)
RAM variables (1997)
Summing fields (1997)
WebCat2: multiple currency support (1997)
WebDNA on Windows questions (2007)
possible, WebCat2.0 and checkboxes-restated (1997)
Listserver problem (1997)
ConvertChars (1998)
bug in [SendMail] (1997)