CartAjax Modul, total number of products

28.01.2021 09:01
#1
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
CartAjax Modul, total number of products

CartAjax Modul shows total price ($cart->price_product in functions.php). Is it possible to show the total number of products too?

 
28.01.2021 17:51
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25930
Quote
Aw: CartAjax Modul, total number of products

Use advenced module
Aw: CartAjax Modul, total number of products

or change code:

count($cart->products)


Last change: 28.01.2021 17:53
 
28.01.2021 18:16
#3
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: CartAjax Modul, total number of products

<div class="cartajax-module-bottom" <?php if(count($cart->products) == 0){?>style="display:none"<?php }?>>
<div class="cartajax-module-total"><span><?php print formatprice($cart->products)?></span></div>

This is my default.php. currently shows the total price. What do you mean with change the code count($cart->products) to show total numbers of products instead total price?

 
28.01.2021 20:28
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25930
Quote
Aw: CartAjax Modul, total number of products

Use advenced cartajax

 
29.01.2021 08:28
#5
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: CartAjax Modul, total number of products

Advanced Modul don´t work correct. I use function ,,Do not go into the shopping cart after purchase" After an item is added to the cart or close window with "x", the cart does not refresh. With CartAjax and total price it works.

I want to use Joomshopping only with this function ,,Do not go into the shopping cart after purchase", because otherwise after added a item to card Joomshopping always scrolled to the top of the page. that's not comfortable

 
29.01.2021 15:19
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25930
Quote
Aw: CartAjax Modul, total number of products

url with Advanced Modul?


Last change: 29.01.2021 15:19
 
29.01.2021 19:00
#7
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: CartAjax Modul, total number of products

new attempt, new luck. works now! Thanks for your support.

 


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.