MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Evaluate [data session source]



******    message to minivend-users from "Jeff Carnahan" <tails@dakotacom.net>     ******

Try doing this:

[if type="session" term="source" op="eq" compare="wfm"]
	[discount code="ALL_ITEMS"] $s * .9[/discount]
[/if]

I assume you wanted 10% on all the items... The way you have it below, you've got to have items in your cart already, but if they're
just entering into your site (i.e. from a referrer) then it's likely they don't already have stuff in their cart, so the ALL_ITEMS
tag works better here...

--
Jeff Carnahan
tails@dakotacom.net



-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of cyberJames
Sent: Wednesday, February 03, 1999 7:37 PM
To: minivend-users@minivend.com
Subject: Evaluate [data session source]


******    message to minivend-users from cyberJames <jjohnson@walkthetalk.com>     ******

I am using a source code in mass email to offer only certain users
10%.  Well I WANT to do this. :)

http://207.158.108.101/cgi-bin/store/valentine?;;wfm
(the link doesn't work yet... there will be a special page later)

So.. my  [data session source] is 'wfm'.

All I want to do is give people who come in this way 10% off...
What am I doing wrong?

[if explicit]
         [condition]
             $code = '[data session source]';
             return 1 if $code='wfm';
             return 0;
[/condition]

        [item-list]
           [discount code="[item-code]"]
               return ($s * .90);
           [/discount]
        [/item-list]
[/if]

---

I suppose it's something with "return 1 if $code='wfm';"

I have to have this up and running by MONDAY EEEEK!

Thanks in advance for helping this idiot :)


Best regards,
cyberJames


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: