[ic] Pricing question

Twentys twentys at libero.it
Tue Aug 19 20:56:39 EDT 2003

I usually prepare my scratch.
You can do something like

[seti map_price][item-field map][/seti]
[seti price][item-field price][/seti]
[if type=scratch term=map_price op="=~" compare="/^[scratch price]/i"]
Price: $99.99
List Price: $150

I don't know if it's the right way but should be work.....
Why don't you do something like

[if-item-field map]
[item-field map]
[item-field price]

If you compile map field you show map, else you shoe price....


Il 19/08/2003 7.33.47, "Sergei Voyakin" <svoyakin at hotmail.com> ha scritto:

>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 
>Price: $99.99
>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]]
>Price: $99.99
>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.    
>interchange-users mailing list
>interchange-users at icdevgroup.org

More information about the interchange-users mailing list