[ic] changing prices in admin/entry.html with mv_price and
UserModifier
daniel castro
daniel_castro at hotmail.com
Mon Sep 6 17:57:33 EDT 2004
Hi list,
I am trying to change the price of item in the admin/entry.html, I know this
issue has been brogh before, but after using two past posts I found in the
mail list, I have to ask again for someones help.
I use IC 5.0.1 in a fedora core 1, and postgres 7
My after.cfg looks like this:
Profile platinum <<EOR
{
CommonAdjust => <<EOF,
$, ;pricing:w5,w10:, ;:price, ==:options, -4%
UseModifier mv_price
EOF
NonTaxableField => 'nontaxable',
}
EOR
Each profile works fine, with no problems at all.
The entry.html page look like this:
if [value name=price_level default="[loop-data userdb price_level]"]
eq retailer)
[discount item-code]$s * .86[/discount];
[/perl]
Mod Price2: <input type=text name="mv_price" size=5 value="[set
mv_UserModifier]mv_price[/set]"><br>
Mod Price: <input type=text name="[modifier-name mv_price]" size=5
value="[item_modifier mv_price]"><br>
[item-price]
[if discount [item-code]]
<BR><FONT COLOR=__CONTRAST__ SIZE=-2>[L]Item is
discounted[/L]
[item-discount]
</FONT>
[/if]
</TD>
<TH class=rnorm WIDTH="2"> </TH>
<TD class=rnorm VALIGN=TOP ALIGN=RIGHT>
[item-subtotal]
</TD>
</TR>
<TR><TD ALIGN=CENTER COLSPAN=7><IMG SRC="bg.gif" WIDTH="1" ALT="" HEIGHT="1"
BORDER="0"></TR>
[/item-list]
I have two inputs for the price mod, because I am testing, but the second
one (Mod Price:) is the one used to solve the problem.
When I hit recalcfultae the page reloads, but shows the same price as
before.
I really hope someone can help me out.
Thanks in advance
Daniel Castro
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the interchange-users
mailing list