[ic] simple simple coupon going nuts

mail lists at gmnet.net
Thu Apr 19 08:34:31 EDT 2007


On Thu, 2007-04-19 at 08:20 -0400, Glenn McCalley wrote:
> Rick,
> Works like a charm.
> Knew it had to be simple -- turns out it's -me- that's simple.
> This particular store client is a brewery - if you are ever within
> 100 miles of Baltimore, call for a beer appointment.
> Glenn.

Yea! actually I am in VT and bike everywhere so...  The IC "if" tag can
be tricky, I made a cheat sheet for myself that I still always have to
look at...

rick

> 
> 
> ----- Original Message ----- 
> From: "mail" <lists at gmnet.net>
> To: <interchange-users at icdevgroup.org>
> Sent: Wednesday, April 18, 2007 5:54 PM
> Subject: Re: [ic] simple simple coupon going nuts
> 
> 
> > On Wed, 2007-04-18 at 17:39 -0400, mail wrote:
> >> On Wed, 2007-04-18 at 11:54 -0400, Glenn McCalley wrote:
> >> > Hi all,
> >> > All I want is a simple coupon code.
> >> > No tracking, no customer ID, no session logged in, I don't care how 
> >> > many
> >> > people use it or how often they use it.  No order limit.  No order 
> >> > minimum.
> >> >
> >> > Field created on the check out page with the dataname "disc_code"
> >> >
> >> > [if value disc_code = asdf]
> >> > [discount ENTIRE_ORDER] $s * .9 [/discount]
> >> > [/if]
> >> >
> >> >
> >> > [discount ENTIRE_ORDER] $s * .9 [/discount] -- by itself works just 
> >> > fine.
> >> >
> >> > I don't think it's a discount problem as such at all.
> >> > I suspect "value" is incorrect?
> >> > It would seem I just need to match whatever the shopper entered in
> >> > "disc_code"  and wrap it in an "if"?
> >> > Tried session / data / field / exists /
> >> > Searched, RTFM'ed for hours, cried, shouted, much coffee to no avail.
> >> > Help, please, it's got to be so simple I can't see it.
> >> > Thanks!
> >> > Glenn.
> >> >
> >> >
> >> > _______________________________________________
> >> > interchange-users mailing list
> >> > interchange-users at icdevgroup.org
> >> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >>
> >> try this:
> >>
> >> [if type=value term=disc_code op=gt compare="asdf"]
> >>
> >> rick
> >>
> > oops I mean eq not gt!
> > [if type=value term=disc_code op=eq compare="asdf"]
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users at icdevgroup.org
> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >
> > 
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users



More information about the interchange-users mailing list