Congratulations ... you found a bug! :clap:
Unfortunately, you found a bug ... :blink:
Good news ... I may already have a fix for you ... :flex:
Try a test, and edit the files:
/includes/functions/functions_prices.php
/admin/includes/functions_prices.php
find the function zen_get_attributes_price_factor ... and make the following change:
////
// return attributes_price_factor
function zen_get_attributes_price_factor($price, $special, $factor, $offset) {
// if (ATTRIBUTES_PRICE_FACTOR_FROM_SPECIAL =='1' and $special) {
if ($special) {
// calculate from specials_new_products_price
$calculated_price = $special * ($factor - $offset);
} else {
// calculate from products_price
$calculated_price = $price * ($factor - $offset);
}
// return '$price ' . $price . ' $special ' . $special . ' $factor ' . $factor . ' $offset ' . $offset;
return $calculated_price;
}
Does this magically fix the problem?
Carefully test this as I have not fully tested this yet ... and let us know if this fixes the One Time Factor on your attributes when using a Special on the Product ...