MiniVend Akopia Services

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

Re: hummm...ok im stuck with something probably easy



******    message to minivend-users from mikeh@minivend.com     ******

Quoting Jason Korkin (jkorkin@korksoft.com):
> 
> Why don't you just put "Call" in the database instead of 0.00?  Then you won't need extra code.
> 
> 

Because it causes syntax errors if you ever try to use code on
it.

Leave the field blank, and do:

	[if-field price]
	[item-price]
	[else]
	Call
	[/else]
	[/if-field]

or if someone insists that "0.00" must work:

	[if data products::price::[item-code] > 0]
	[item-price]
	[else]
	Call
	[/else]
	[/if]

Of course [item-code] becomes something else if you are not in
a flypage, item-list, or search-list.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
                                    131 Willow Lane, Floor 2  | ||  _ \
It's a little-known fact            Oxford, OH  45056         | || |_) |
that the Y1K problem caused         <mikeh@minivend.com>     |___|  _ <
the Dark Ages. -- unknown           513.523.7621 FAX 7501        |_| \_\

> 
> Richard Teachout wrote:
> 
> > ******    message to minivend-users from "Richard Teachout" <richt@Teachout.com>     ******
> >
> >  I am using MV3.11 on a Linux Server that has been running
> > almost perfectly for a while...
> >
> > Wanting to add a few more little features, and I'm stuck on this one...
> > We want the price (flypage) to say "Call" for items in our database that do
> > not have pricing in them. (some items, maybe 20 out of 1000 do not)  Here is
> > what I've tried, with no avail.. any ideas?
> >
> > [if explicit][condition][price
> > [item-code]]="$0.00"][/condition][then]Call[/then][else][price
> > [item-code]][/else][/if]
> >
> > Thanks in advance...
> > -Richard Teachout
> >
> > -
> > 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
> 
> --
> Jason Korkin
> jkorkin@korksoft.com
> 
> KORKSOFT
> http://www.korksoft.com
> 
> 
> -
> 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
> 

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Be patient. God isn't               131 Willow Lane, Floor 2  | ||  _ \
finished with me yet.               Oxford, OH  45056         | || |_) |
 -- unknown                         <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
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: