steller007 wrote:Anyone?
image sizes for options are defined in /catalog/controller/product/product.php
look for around line 253
Code: Select all
foreach ($option['option_value'] as $option_value) {
if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {
$option_value_data[] = array(
'product_option_value_id' => $option_value['product_option_value_id'],
'option_value_id' => $option_value['option_value_id'],
'name' => $option_value['name'],
'image' => $this->model_tool_image->resize($option_value['image'], 50, 50),
'price' => (float)$option_value['price'] ? $this->currency->format($this->tax->calculate($option_value['price'], $product_info['tax_class_id'], $this->config->get('config_tax'))) : false,
'price_prefix' => $option_value['price_prefix']
);
}
}
just change the resize values from 50,50 to what ever you want.
i would suggest using a vqmod
as a side note i've actually just release a mod for this almost. instead of an additional image that changes with the selection, this allows for images in the dropdown itself.
Any options that are "select" based can have images associated via the standard admin interface. These will then be displayed as image dropdowns on the product pages that use these options.
Also allows for css styling of your drop-downs.
This will re-skin the dropdowns that dont use images as well
http://www.opencart.com/index.php?route ... on_id=5137