CREATE TABLE `oc_product_feature_value` (
`product_feature_id` INT(11) NOT NULL,
`product_option_id` INT(11) NOT NULL,
`product_id` INT(11) NOT NULL,
`product_option_value_id` INT(11) NOT NULL,
`price` DECIMAL(15,4) NOT NULL DEFAULT 0,
`quantity` INT(4) NOT NULL DEFAULT 0,
`status` INT(1) NOT NULL DEFAULT 0,
UNIQUE KEY `product_feature_value_key` (`product_feature_id`, `product_id`, `product_option_value_id`),
FOREIGN KEY (`product_feature_id`) REFERENCES `oc_product_feature`(`product_feature_id`),
FOREIGN KEY (`product_option_id`) REFERENCES `oc_product_option`(`product_option_id`),
FOREIGN KEY (`product_id`) REFERENCES `oc_product`(`product_id`),
FOREIGN KEY (`product_option_value_id`) REFERENCES `oc_product_option_value`(`product_option_value_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
Модуль от Кириллове?