
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] CommonAdjust!
Hi all.
I have one item (pizza) that has about 60 modifiers pulled from a database.
I have a configuration page with a bunch of checkboxes on it.
My pizza table looks like this: (note only one pizza is customizable)
Sku name S M L XL
0060 customizable 7.99 10.99 12.99 14.99
0061 other pizza1 7.99 10.99 12.99 14.99
0063 other pizza2 7.99 10.99 12.99 14.99
I have a unique code for each topping (unrelated to the sku of my
customizable pizza), and a different price for each size.
This gets complicated. My toppings table is in this format:
topping_code name S M L XL
T01 green pepper 1.00 2.00 3.00 4.00
T02 pepperoni 1.50 2.00 3.00 4.00
T03 olives 1.00 2.02 2.50 3.00
In my catalog.cfg:
UseModifier size,topping
CommonAdjust ==size:pricing, ==topping:toppings:L
You’ll notice that I’m working with Large only right now to simplify things.
In my store, on the custom pizza configuration page, I have checkboxes with
the following info:
name=mv_order_topping value=topping_code
Here’s what I’m passing in attempt to place the order (I can successfully
order a pizza with the right price, but only ONE topping of my choice :0)
mv_order_item=0060
mv_order_size=L
mv_order_topping=T01
mv_order_topping=T02
mv_order_topping=T03
mv_order_topping=T04
And so on...
Anyone out there have any suggestions? I know this is pretty hardcore in a
sense, but I don’t think I’m too far off here.
Thanks...
Tim
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users