Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to change the line color in shopping cart


midpen

Recommended Posts

Posted

There is a black line for totalling in the shopping cart box. How to change its color form black to whatever matches my site?

Posted

the line is an image in the images folder called "pixel_black.gif".

 

to use a different color you will have to make it. the image is actually just a single pixel and the "tep_draw_separator" function stretches the pixel into a line. just open the pixel_black.gif image in an image editor and change the color, then save as a different name. (example: pixel_red.gif) then upload the new image into the images folder.

 

the open the catalog/includes/boxes/shopping_cart.php file and find the following line:

$info_box_contents[] = array('text' => tep_draw_separator('pixel_black.gif'));

 

then change the image name "pixel_black.gif", to your new image name

 

example:

$info_box_contents[] = array('text' => tep_draw_separator('pixel_red.gif'));

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...