Iemand een idee? Het gaat om OC 2.0.11
Code: Select all
foreach ($this->model_catalog_product->getProductOptions($this->request->get['product_id']) as $option) {
$product_option_value_data = array();
foreach ($option['product_option_value'] as $option_value) {
if ($option_value['price_prefix'] == '-') {
$option_value['price'] = (($product_info['special'] ? ($product_info['special'] - $product_option_value['price']) : ($product_info['price']) - $option_value['price']));
} else {
$option_value['price'] = (($product_info['special'] ? ($product_info['special'] + $product_option_value['price']) : ($product_info['price']) + $option_value['price']));
}