False weight

10.04.2014 11:11
#1
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2276
Quote
False weight

Hello webdesigner,

case:
show weight in shop
product with attribute:
attribute_option_1, name: CD , weight: 0.3 kg
attribute_option_2, name: MP3, weight: 0 kg

info-weight: -

result:
I could not see the weight, click to "CD", also no weight


But:
Total weight for cart is OK

Solution?


Greetings


Letzte Änderung: 10.04.2014 11:19

Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
13.04.2014 18:58
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: False weight

Set weight for product
and
Change
components\com_jshopping\tables\product.php

function getWeight(){
if (isset($this->attribute_active_data->weight)){
return $this->attribute_active_data->weight;
}else{
return $this->product_weight;
}
}

 
14.04.2014 09:13
#3
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2276
Quote
Aw: False weight

Hello,

components\com_jshopping\tables\product.php

function getWeight(){
if (isset($this->attribute_active_data->weight)){
return $this->attribute_active_data->weight;
}else{
return $this->product_weight;
}
}

You will change this in the next version?

Greetings


Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
14.04.2014 22:15
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: False weight

Yes.

 


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.