Hi,
I searched this question but not found. Sorry, It is possible, that a simple thing but I can't solve.
I want to display in cart module not a full product qty, only a different products qty.
Eg: now: add to cart 5 apples, 3 bananas. Cart module display 8 items.
I want to show only 2 items!
It is possible? Thanks for reviews!
Sorry for my English!
do u mean like attached?
modules/mod_virtuemart_cart/tmpl/default.php from ~ line 51
original
<div class="total_products"><?php echo $data->totalProductTxt ?></div>
<div class="show_cart"rel="nofollow">
<?php if ($data->totalProduct and $show_price) echo $data->cart_show; ?>
</div>
<div style="clear:both;"></div>
change to
<div class="total_products"><?php #echo $data->totalProductTxt ?></div>
<div style="clear:both;"></div>
<div class="show_cart"rel="nofollow">
<?php if ($data->totalProduct and $show_price) echo $data->cart_show; ?>
</div>
<div style="clear:both;"></div>
[attachment cleanup by admin]
Thanks, GJC Web Design!
But I don't want this.
Only show the total different products. See in attachment.
In this image, add to cart 2 bananas and 3 apples. But show only the total price and the different product qty (2).
[attachment cleanup by admin]
Beni, I'm sure you'll be able to count ordered positions IF you will at least TRY to do this yourself first.
you cannot do this without changing the JS
Thanks. Important for me, I would like to hack this... How do I?