I am trying to get the actual price of the product displaying when the price is determined by an attribute.

The site sells products that can be color or black and white. The attribute of black & white subtracts pricing - $34.95 for color (base product) $24.95 or -$10 for black & white (attribute).

I have used the Attributes Qty Price Discount to set up pricing for the attributes - as minus numbers.

I need to be able to show the attributes actual pricing in the quantity discounts table - not the minus numbers which show now. Since this is actually a mathematical equation of product price minus attribute discount, I thought that I could combine the two scripts to make that happen.

Well, it's definitely more complicated than that.

The attribute quantity pricing has a number of cases that aren't described in the code so that I can see what's what:
PHP Code:
switch (true) {
                  case (
$i+2==$n):
                    
$zc_disp_qty $attribute_table_cost[$i-2]+'+';
                    break;
                  case (
$i <= and $attribute_table_cost[$i] == 1):
                    
$zc_disp_qty '1';
                    break;
                  case (
$i <= and $attribute_table_cost[$i] != 1):
                    
$zc_disp_qty '1-' $attribute_table_cost[$i];
                    break;
                  case (
$i and $attribute_table_cost[$i-2]+!= $attribute_table_cost[$i]):
                    
$zc_disp_qty $attribute_table_cost[$i-2]+'-' $attribute_table_cost[$i];
                    break;
                  case (
$i and $attribute_table_cost[$i-2]+== $attribute_table_cost[$i]):
                    
$zc_disp_qty $attribute_table_cost[$i];
                    break;
                } 
I would like to at least identify which case is at work here.

Where the pricing for the attributes actually show it has this.
PHP Code:
.  $currencies->display_price($attribute_table_cost[$i+1], zen_get_tax_rate($_GET['products_tax_class_id'])) . 
So I figured on sticking in the code from the quantity discounts for the product into this but I obviously missed the boat as the numbers show are 6 for each level.

So the question - finally - is there a way to do this that I haven't thought of? Having the attributes quantity pricing display as -7 or -8 etc simply makes no sense to the buyer.

You can see what I'm talking about here: http://www.picpads.com/zencart/index...&products_id=9