Please add in the next update, condition for output Images in cart:
Show image attribute product or only product image
In file: \components\com_jshopping\tables\product.php
Add (line 82):
function getData($field){
if ($jshopConfig->show_only_img_product_in_cart=0 && isset($this->attribute_active_data->ext_data) && isset($this->attribute_active_data->ext_data->$field) && $this->attribute_active_data->ext_data->$field!=''){
return $this->attribute_active_data->ext_data->$field;
}else{
return $this->$field;
}
}
if ($jshopConfig->show_only_img_product_in_cart=0 && isset($this->attribute_active_data->ext_data) && isset($this->attribute_active_data->ext_data->$field) && $this->attribute_active_data->ext_data->$field!=''){
return $this->attribute_active_data->ext_data->$field;
}else{
return $this->$field;
}
}
In file: \components\com_jshopping\lib\default_config.php
Add:
$config->show_only_img_product_in_cart = 0;
Last change: 18.07.2015 12:39