How to edit HTML <i id="gkCartCounter">( 0 )</i>

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Jan 26, 2014 6:13 pm
Reply with quote
Report this post
Hi Guys.

How could I edit the following line <i id="gkCartCounter">( 0 )</i> in HTML?

I want to get rid of the <i> tag and parenthesis from ( 0 ).

Regards
User avatar
Senior Boarder

GK User
Mon Jan 27, 2014 8:19 am
Reply with quote
Report this post
This element is generated dynamically with use of JS. You can't completely remove the overlapping element as it is needed to insert correct value to that placeholder.
To remove "(" and ")" please edit file:
templates/gk_instyle/js/gk.scripts.js
find line:
Code: Select all
document.id('gkCartCounter').set('text', '(' + text + ')');

and change it to:
Code: Select all
document.id('gkCartCounter').set('text', text );
User avatar
Moderator