Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

background color of checkout table

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-10-2006, 04:46 PM
 
sunedaze sunedaze is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 46
 

Default background color of checkout table

How do I change the bacground color of the table on the checkout page that lists the shopping cart items? My text is yellow, so you can't see it with the current white & gray backgrounds. I got the top and bottom of the table to change color in my skin1.css template, but that is as far as I could get. Here is a link to the table (I don't know if it will show up in this link or not...):

http://www.taostrading.com/indianjewelry/cart.php?mode=checkout
__________________
Thanks,
Sienna
x-cart gold version 4.0.18
Reply With Quote
  #2  
Old 07-11-2006, 04:01 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

customer/main/cart_contents.tpl or cart_details.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-11-2006, 02:27 PM
 
sunedaze sunedaze is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 46
 

Default

Thank you, I figured it out. For anyone else who is trying to do this, it was in the /customer/main/cart_details.tpl under this area:

<TR{if $bg eq ""}{assign var="bg" value="1"} bgcolor="#A52A2A"{else}{assign var="bg" value=""} bgcolor="#A52A2A"{/if}>
<TD>{if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. {$products[prod_num].product|truncate:"30":"...":true}</TD>
{if $cart.display_cart_products_tax_rates eq "Y"}
<TD align="center">
{foreach from=$products[prod_num].taxes key=tax_name item=tax}
{if $tax.tax_value gt 0}
{if $cart.product_tax_name eq ""}<NOBR>{$tax.tax_display_name}</NOBR> {/if}
{if $tax.rate_type eq "%"}{$tax.rate_value}%{else}{include file="currency.tpl" value=$tax.rate_value}{/if}

{/if}
{/foreach}


This part here:

<TR{if $bg eq ""}{assign var="bg" value="1"} bgcolor="#A52A2A"{else}{assign var="bg" value=""} bgcolor="#A52A2A"{/if}>

has the bgcolor=" place to enter your new background color values.
__________________
Thanks,
Sienna
x-cart gold version 4.0.18
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:49 PM.

   

 
X-Cart forums © 2001-2020