extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

08.01.2024 12:23
#1
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 250
Quote
extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

Dear Joomshopping-Team,

first, I wish you a happy new year.

We have installed the "ExtPrice - prices net / gross 2.1.2" add-on and ShopVersion 5.2.2 in our test environment. The shopping cart only shows the net amount. The gross amount is missing. The other displays in the store work. Only in the shopping cart the display of both prices does not work. It worked in the old store version under Joomla 3.

Where is the error? Can you please help me?

Thanks, Andrea

 
10.01.2024 11:44
#2
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 250
Quote
Aw: extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

Any idea?

 
10.01.2024 15:41
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25942
Quote
Aw: extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

will be fixed in the new version

 
12.01.2024 11:59
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25942
Quote
Aw: extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

Bug in JoomShopping (Will be fixed in 5.3.0)

components\com_jshopping\Model\CartpreviewModel.php

public function getProductsPrepare($products) {
foreach($products as &$v) {
$v['_tmp_tr_before'] = "";
$v['_tmp_tr_after'] = "";
$v['_tmp_img_before'] = "";
$v['_tmp_img_after'] = "";
$v['_ext_product_name'] = "";
$v['_ext_attribute_html'] = "";
$v['_ext_price_html'] = "";
$v['not_qty_update'] = "";
$v['_qty_unit'] = "";
$v['_ext_price_total_html'] = "";
$v['not_delete'] = "";
$v['basicprice'] = "";
}
return $products;
}

change to

public function getProductsPrepare($products) {
foreach($products as &$v) {
$v['_tmp_tr_before'] ??= "";
$v['_tmp_tr_after'] ??= "";
$v['_tmp_img_before'] ??= "";
$v['_tmp_img_after'] ??= "";
$v['_ext_product_name'] ??= "";
$v['_ext_attribute_html'] ??= "";
$v['_ext_price_html'] ??= "";
$v['not_qty_update'] ??= "";
$v['_qty_unit'] ??= "";
$v['_ext_price_total_html'] ??= "";
$v['not_delete'] ??= "";
$v['basicprice'] ??= "";
}
return $products;
}


Последнее изменение: 12.01.2024 12:00
 
18.01.2024 15:41
#5
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 250
Quote
Aw: extprice in cart - nur netto im Warenkorb sichtbar - brutto fehlt

Thanks for information. I will try your solution

 


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.