Post by ZD-Vapes » Thu Jan 22, 2015 8:53 pm

Hi can someone help me. I'm getting the following message at the top of my screen when i'm in a product page in admin.

Notice: Undefined index: option_value in /homepages/15/d517937007/htdocs/admin/model/catalog/product.php on line 505

hope someone can help me get rid of this message.

Newbie

Posts

Joined
Wed Jun 11, 2014 5:49 am

Post by yuno » Fri Jan 23, 2015 6:13 pm

any code provide

default product.php
line 493-506

Code: Select all

foreach ($product_option_value_query->rows as $product_option_value) {
				$product_option_value_data[] = array(
					'product_option_value_id' => $product_option_value['product_option_value_id'],
					'option_value_id'         => $product_option_value['option_value_id'],
					'quantity'                => $product_option_value['quantity'],
					'subtract'                => $product_option_value['subtract'],
					'price'                   => $product_option_value['price'],
					'price_prefix'            => $product_option_value['price_prefix'],
					'points'                  => $product_option_value['points'],
					'points_prefix'           => $product_option_value['points_prefix'],
					'weight'                  => $product_option_value['weight'],
					'weight_prefix'           => $product_option_value['weight_prefix']
				);
			}

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


Active Member

Posts

Joined
Tue Feb 11, 2014 9:24 am
Who is online

Users browsing this forum: No registered users and 21 guests