Post by bero » Fri Jan 09, 2015 9:13 pm

Ik krijg de error Undefined variable: product_option_value, maar ik kan niet vinden wat het wel moet zijn?
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']));
			}
Het gaat om het deel na foreach

New member

Posts

Joined
Tue Sep 24, 2013 6:18 am
Who is online

Users browsing this forum: No registered users and 5 guests