[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
using item attributes and common adjust together
****** message to minivend-users from "kenshin" <kenshin@planetanime.com> ******
Hello all,
First, I am using mv 3.12beta10 running on linux 2.2 (i think) and perl
5.004_04
I'm trying to use item attributes and common adjust but i'm having a little
bit of a problem. Here's what i'm trying to do: I have some items in my
catalog that i need to be able to choose between being framed and unframed.
I set up an item attribute column in my products database called unframed.
the data in the column looks something like this:
U=Unframed Price $200, F=Framed Price $250*
in the price field i have the following:
250, ==unframed:pricing
in my pricing.asc file for this particular item i have the following entry
code U F
dis-music -50 0
i.e. the unframed price should be -50 less than the framed price (which is
the default price in the price field of the products database).
in my catalog.cfg i have defined a pricing.asc database and set the
following options:
CommonAdjust yes (turns on common adjust)
UseModifier unframed
and
PriceAdjustment is not set (commented out).
On my results page i use the following form to show and have the user select
an item and it's corresponding attribute:
<form action="[process-target]" method=POST>
<input type=hidden name=mv_todo action=refresh>
<input type=hidden name=mv_order_item value="[item-code]">
<INPUT TYPE=hidden NAME=mv_separate_items VALUE="1">
<INPUT type=hidden NAME=mv_order_quantity VALUE="1">
[item-accessories unframed]
[order [item-code]]Add to cart[/order]
</form>
The problem is even when unframed is selected the price in the basket shows
the framed (higher) price.
I don't want to have to create a separate item code for each framed and
unframed item (like in the simple catalog). It seems reasonable to me that
this should work, but i can't figure out what i am missing or doing wrong.
Any help or ideas would be appriciated.
thanks in advance,
mike kang
kenshin@planetanime.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