Announcement

Collapse
No announcement yet.

Cart in Brochure and Section pages appears differnt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cart in Brochure and Section pages appears differnt

    Hi

    I am adding my cart to brochure pages but note that it apears differently.

    For example, within a Section page it appears

    Items: 3
    Value:
    $16.50

    Code:
    <td width="124" background="banner_header_cart.gif"> 
            <table width="87" height="70" border="0" align="right" cellspacing="5" cellpadding="5">
              <tr> 
                <td bgcolor="#FFFFFF"><div align="right"><span class="actxxsmall"> <font color="NETQUOTEVAR:BGCOLORCSS">
                   <script language="JavaScript">
    			document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"<BR>");
    			document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
    	       </script></font></span></div>
    	    </td>
    and within a brochure page it appears

    Items: 3
    Value: $16.50

    Code:
    <td width="70"><div align="right"> 
            <table width="87" height="70" border="0" align="right" cellpadding="5" cellspacing="5">
              <tr> <td bgcolor="#FFFFFF"><div align="right"><span class="actxxsmall"> <font color="#000033">
    	<script language="JavaScript">
    		document.write("Items&#58;&nbsp;" + getCartItem(3)+"<BR>");
    		document.write("Value&#58;&nbsp;" + getCartItem(1));
    	</script></font></span></div>
    	</td>
    I have tried to use the same code in the brochure page but it still shows Value: $16.50 on one line and forces the table containing the contents of the cart to stretch sideways, as a result, partly hides the container that it site in. I have also played with the <td width="124" background="banner_header_cart.gif"> part of it but no joy.

    Any thoughts on forcing the price onto a seperate line, ie

    Value:
    $16.50

    Thanks

    #2
    Hi there

    Try the following

    Change
    Code:
    document.write("Value:&nbsp;" + getCartItem(1));
    to
    Code:
    document.write("Value:<br>" + getCartItem(1));
    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment

    Working...
    X