I am using OC 1.5.6. I set up the special price so that the old price is visible, red and crossed off. When I set up the special price I get this errorr:
Notice: Use of undefined constant PHP_ROUND_HALF_UP - assumed 'PHP_ROUND_HALF_UP' in public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 323Warning: Wrong parameter count for round() in public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 323
The code from line 323 to 327 says:
Code: Select all
$this->data['special_percentage'] = round(100/($product_info['price']/($product_info['price'] - $product_info['special'])), 2, PHP_ROUND_HALF_UP) . '% OFF';
} else {
$this->data['special'] = false;
}