Add condition for output Images in cart

18.07.2015 12:33
#1
Anna-Macey
Joomshopping forum user no avatar
Name: Anna
14.02.2014
Posts: 5
Quote
Add condition for output Images in cart

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;
}
}


In file: \components\com_jshopping\lib\default_config.php
Add:
$config->show_only_img_product_in_cart = 0;



Letzte Änderung: 18.07.2015 12:39
 
18.07.2015 21:37
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Add condition for output Images in cart

Sorry. No.

 
19.07.2015 13:48
#3
Anna-Macey
Joomshopping forum user no avatar
Name: Anna
14.02.2014
Posts: 5
Quote
Aw: Add condition for output Images in cart

This is not a useful function or difficult to implement or?

 
05.08.2015 06:18
#4
Arseny
User Arseny
Name: Arseny
04.12.2013
Posts: 68
Quote
Aw: Add condition for output Images in cart

+1
Such a function would be useful to me

 
Copyrights MAXXmarketing GmbH. All Rights Reserved