[ic] Pricing question
svoyakin at hotmail.com
Tue Aug 19 06:33:47 EDT 2003
First post, not quite sure if im doing this right, so excuse any wrong-doing
There are some products in my database which require to show one price, and
only once the buyer adds it to the shopping cart can I show the real price
(don't ask-rules of the manufacturer). So I added a different field called
map (minimum advertise price) to the products table. Instead of showing the
price, i show map price.
Well, since not all of the products have this map rule, I want to check if
the prices are different. If they are the same, then i can show something
If they are different, then i want to show something like this:
List Price: $150. Add to cart to see your price.
Well, seems easy enough, but for some reason I can't compre the two prices.
I am comparing with both, the == and eq and nothing comes up:
[if [item-field map] == (or eq) [item-field price]]
List Price: $150
But it does not work-the If always evaluates to true, even if map and price
are different...so I'm asking for a little help. Thanks!
<b>Get MSN 8</b> and enjoy automatic e-mail virus protection.
More information about the interchange-users