Добрый день. Установил autocalc_price_option_OC2_v3.0.10.ocmod.xml и options_price_v1.0.12_OC2.ocmod.xml на Open Cart Version 2.1.0.1 (trs-2.1.0.0)
Все настроил как указано в прикрепленной теме.
а получилось вот так: http://new.3g-smart.com.ua/smartfony/cdma6553080/alcatel-one-touch-elevate-4037v-cdma
код ошибки: Notice: Undefined index: 1 in /home/komba122/domains/3g-smart.com.ua/public_html/new/system/storage/modification/catalog/controller/product/product.php on line 518Warning: Invalid argument supplied for foreach() in /home/komba122/domains/3g-smart.com.ua/public_html/new/system/storage/modification/catalog/controller/product/product.php on line 518Notice: Undefined index: 2 in /home/komba122/domains/3g-smart.com.ua/public_html/new/system/storage/modification/catalog/controller/product/product.php on line 518Warning: Invalid argument supplied for foreach() in /home/komba122/domains/3g-smart.com.ua/public_html/new/system/storage/modification/catalog/controller/product/product.php on line 518
Скриншот ошибки прикрепил.
Код на который ссылается ошибка: foreach ($product_option_values[$option_value['product_option_value_id']] as $value) {
if (empty($class)) {
$class = $value;
} else {
$class .= " " . $value;
}
}
Скриншот кода прикрепил.
Шаблон магазина megashop.
Заранее спасибо за помощь.
ошибка1.bmp
код.bmp