Problem with Productlist Price at Attributes in JS 5.x

27.08.2022 15:57
#1
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Problem with Productlist Price at Attributes in JS 5.x

If all attribute products are not in stock, a price of €0.00 is displayed in the product list. this applies only the product list, not the product detail page. Send you Link in PVT. Please fix the bug. Thanks in Advance.

 
31.08.2022 21:48
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Problem with Productlist Price at Attributes in JS 5.x

Bug in code
<span style="display: none" <input type="hidden" value="1204" name="product_id" /><form class="cartajaxattributes" name="cartajaxattributes-1204" id="cartajaxattributes-1204">


<span style="display: none" - tag not closed

Your changes?

 
31.08.2022 21:58
#3
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: Problem with Productlist Price at Attributes in JS 5.x

Ok, found bug in /jshoppingproducts/cartajax/
cartajax.php

change:

$products[$key]->_tmp_var_top_buttons .= '<span' . $style . ' </span>';

Now works, thank you!


Last change: 31.08.2022 22:05
 


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.