Re: [cart]=

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58535
interpreted = N
texte = Ah yes, thanks. I was thinking that [cart] would translate to a cart value in the showif without the raw in my 2nd example. So, this works fine: [showif [cart]=][redirect http://www.domain.com][/showif] I had some problems with bookmarking cart values and thus the first example, but now that I evaluate it, I guess it's pretty worthless isn't it. Looks like he got his problem sorted out anyways so I'll just quietly go back to what I was doing.... GK At 11:02 AM 6/22/2004, you wrote: >on 6/22/2004 8:34 am, Gary Krockover at gary@garykrockover.com so noted... > > > I always put [showif [raw][cart][/raw]=[cart]][redirect > > http://www.domain.com][/showif] at the top of all of my checkout pages to > > redirect a visitor back to the homepage if they've somehow lost their cart > > (cart=[raw][cart][/raw]). > >But this would never trip unless someone literally entered "cart=[cart]" in >the URL for the page. If no cart value was passed to the page, having [cart] >in your comparison would generate a new one (and the comparison would fail). > > > In your case, I guess you'd also need a [showif > [raw][cart][/raw]=][redirect > > http://www.domain.com][/showif] to accomplish the same thing. > >This one would never be true since it's comparing two unequal static >strings. > > > >Rob Marquardt ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart]= ( Gary Krockover 2004)
  2. Re: [cart]= ( Rob Marquardt 2004)
  3. Re: [cart]= ( Mark Derrick 2004)
  4. Re: [cart]= ( Mark Derrick 2004)
  5. Re: [cart]= ( Mark Derrick 2004)
  6. Re: [cart]= ( Gary Krockover 2004)
  7. Re: [cart]= ( Mark Derrick 2004)
  8. Re: [cart]= ( Donovan Brooke 2004)
  9. Re: [cart]= ( John Peacock 2004)
  10. Re: [cart]= ( Paul Uttermohlen 2004)
  11. [cart]= ( Mark Derrick 2004)
Ah yes, thanks. I was thinking that [cart] would translate to a cart value in the showif without the raw in my 2nd example. So, this works fine: [showif [cart]=][redirect http://www.domain.com][/showif] I had some problems with bookmarking cart values and thus the first example, but now that I evaluate it, I guess it's pretty worthless isn't it. Looks like he got his problem sorted out anyways so I'll just quietly go back to what I was doing.... GK At 11:02 AM 6/22/2004, you wrote: >on 6/22/2004 8:34 am, Gary Krockover at gary@garykrockover.com so noted... > > > I always put [showif [raw][cart][/raw]=[cart]][redirect > > http://www.domain.com][/showif] at the top of all of my checkout pages to > > redirect a visitor back to the homepage if they've somehow lost their cart > > (cart=[raw][cart][/raw]). > >But this would never trip unless someone literally entered "cart=[cart]" in >the URL for the page. If no cart value was passed to the page, having [cart] >in your comparison would generate a new one (and the comparison would fail). > > > In your case, I guess you'd also need a [showif > [raw][cart][/raw]=][redirect > > http://www.domain.com][/showif] to accomplish the same thing. > >This one would never be true since it's comparing two unequal static >strings. > > > >Rob Marquardt ------------------------------------------------------------- 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://webdna.smithmicro.com/ Gary Krockover

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:

Why WebMerchant not working? Please Help - More Info (1999) NY taxRates.db? (1997) PDF Tools (2006) [delete] problem (1997) a search based on ^(contains) (1998) Server capacity (2003) Problem with [Search] inside of [Loop]? (1997) [WebDNA] PROTECT (2017) Setting up shop (1997) New WebCatalog Version !!! (1997) Replto in [SendMail] (2000) WebCat2 beta 11 - new prefs ... (1997) Replace context problem ... (1997) overload (2002) How to include weather (2000) Just a thought (1998) OT: Poll Results (2002) [WebDNA] Is a '.webdna' suffix better? (2008) WebCatalog/WebMerchant 2.1 (1998) Images in the page without using separate image files ... (2003)