I’m trying to make an open cart theme and want to remove the category product count searching i can only find an option to change the core (don’t want to do this as i wish to distribute the theme)
do i thought i might try remove with Jquery it generates
<li><a href="http://www.site.com/index.php?route=product/category&path=25_28">Monitors (2)</a></li>
i want to remove or add span around the () not shire how as the value in-between is dynamic
(an opencart theme solution would also work)
hope this makes sense
thanks in advance
Mitchell
If the value in the brackets is numeric (and assuming the preceding text doesn’t include brackets), you could do:
http://jsfiddle.net/LpYMW/1/
This adds a span around the parentheses. I made the span bold in the example so you can see the effect more easily.