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
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
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: 77
Quote
Aw: Add condition for output Images in cart

+1
Such a function would be useful to me

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.