View Full Version : Cart summary
highbridgesb
26-Feb-2011, 03:59 PM
Where it says "Items 0"
"Value 0"
..... at the front of the shop, I have a black box and white text. I can see the HTML and know what to change it to - but I don't know where to make the change. Is it in a template perhaps?? If so, which one might it be?
Steve
highbridgesb
26-Feb-2011, 04:22 PM
Thanks Bitez
- where can I edit the HTML though??
highbridgesb
26-Feb-2011, 04:38 PM
Oh - I'm on V7 by the way!
Steve
NormanRouxel
26-Feb-2011, 04:55 PM
Ahah. V7! In that case you have to go to Design / Options / Layouts and you'll see a bunch of files listed under Primary Templates. Click Edit for each in turn (note that some may use the same layout) and look for the code there.
P.S. I've deleted my earlier reply as it may confuse other V7 users who find this thread.
peblaco
26-Feb-2011, 05:01 PM
Oh - I'm on V7 by the way!
The code is often directly in the primary layouts and occasionally in Act_Header.html. The code you need to look for is:
NETQUOTEVAR:CARTCOOKIEITEMS
<script language="JavaScript">
<!--
document.write(getCartItem(3));
// -->
</script>, NETQUOTEVAR:CARTCOOKIEVALUE
<script language="JavaScript">
<!--
document.write(getCartItem(1));
// -->
</script>
Where text for variables CARTCOOKIEITEMS and CARTCOOKIEVALUE comes from Design menu > Text > Go to > ID > 2212 & 2213. But you can just replace these with your own writing. The Javascripts put in the number of items and value.
highbridgesb
27-Feb-2011, 10:03 AM
Ahah. V7! In that case you have to go to Design / Options / Layouts and you'll see a bunch of files listed under Primary Templates. Click Edit for each in turn (note that some may use the same layout) and look for the code there.
P.S. I've deleted my earlier reply as it may confuse other V7 users who find this thread.
Thanks again - I find in Act_primary - amongst other things ..........
color="NETQUOTEVAR:BGCOLORCSS"> Quick
Search:</font></span> NETQUOTEVAR:SIMPLESEARCH<br>
<br>
<br>
<table width="100" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td bgcolor="NETQUOTEVAR:FGCOLORCSS">
<div align="center"> <span class="actxxsmall"> <font
color="NETQUOTEVAR:BGCOLORCSS">
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " +
getCartItem(3)+" <BR>");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</font></span> </div>
</td>
But I am not knowledgeable enough what to change. I know the background is 000000 and the text is ffffff. All I want to do is change their values. Do I have to start looking at the CSSs?
Steve
peblaco
27-Feb-2011, 11:07 AM
I know the background is 000000 and the text is ffffff. All I want to do is change their values.
The values NETQUOTEVAR:FGCOLORCSS and NETQUOTEVAR:BGCOLORCSS in that code put in colours from the Design menu but you can just replace these with your own.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.