Page 1 of 1

[MOD]Additional images & related count displayed on tab

Posted: Sat Aug 22, 2009 12:10 am
by Qphoria
EDIT: catalog/view/theme/default/template/product/product.tpl

Additional Images Count:
FIND:

Code: Select all

<?php echo $tab_image; ?>
REPLACE WITH:

Code: Select all

<?php echo $tab_image; ?> (<?php echo count($images); ?>)

Related Count:
FIND:

Code: Select all

<?php echo $tab_related; ?>
REPLACE WITH:

Code: Select all

<?php echo $tab_related; ?> (<?php echo count($products); ?>)

Re: additional images count displayed on tab

Posted: Sat Aug 29, 2009 4:13 am
by gavin m
Excellent, thanks.

I missed this for a few days.

Re: additional images count displayed on tab

Posted: Wed Jan 20, 2010 2:14 am
by Miguelito
Works perfectly :-)

Could this be included in the core (Daniel)?

Re: [MOD] Additional images count displayed on tab

Posted: Wed Jan 20, 2010 8:33 am
by allenshea
Thanks Q, good help!

Re: [MOD] Additional images count displayed on tab

Posted: Wed Jan 20, 2010 2:37 pm
by Miguelito
Great work, Q :)

Re: Additional images & related count displayed on tab

Posted: Sun Mar 28, 2010 10:43 pm
by sizzlingscience
Thank you very much for sharing this Q!

Re: [MOD]Additional images & related count displayed on tab

Posted: Tue Mar 30, 2010 2:47 am
by MrConn
Thanx! Great addition!
Should be included by default! :)

Re: [MOD]Additional images & related count displayed on tab

Posted: Tue Apr 06, 2010 6:51 pm
by pepiw
Excellent work Q, thanks.

I missed this!

Re: [MOD]Additional images & related count displayed on tab

Posted: Wed Apr 07, 2010 7:17 am
by JasonSGN
This is a nice small addition. While it only takes seconds to implement, I'd love to see it added to the core so there would be one less thing to remember to add after upgrading to a new version.

Re: [MOD]Additional images & related count displayed on tab

Posted: Sat May 08, 2010 12:33 am
by zerojinx
this is great. thanks!

Re: [MOD]Additional images & related count displayed on tab

Posted: Wed Jun 30, 2010 3:17 am
by smorelli
I would like to make the image count stand out with a font color if more than 0. Does anyone know how to do this?