Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

products editing 2.3.1


Dominator69

Recommended Posts

Posted

i found solution for borders who doesnt know i i did it like this

open includes/modules/new_products.php

find this line

$new_prods_content = '<table border="0" width="100%" cellspacing="0" cellpadding="2">';

replace with this

$new_prods_content = '<table border="1" width="100%" cellspacing="5" cellpadding="10">';

find this line

$new_prods_content .= '<td width="33%" align="center" valign="top">

replace with

$new_prods_content .= '<td width="33%"  align="center" valign="top" class=" ui-corner-all">

 

open stylesheet.css

find this line

.contentText, .contentText table {
 padding: 5px 0 5px 0;
 font-size: 11px;
 line-height: 1.5;
}

 

replace with

.contentText, .contentText table {
 padding: 1px 0 1px 0;
 font-size: 11px;
 line-height: 1.5;
border: 0px;
}

 

now i need to add buttons any tips how to do it thanks in advance !

Posted

i add button "add to cart" in the page new_products.php

. tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id'])).'</td>';

 

but i have a problem because redirects to

What's In My Cart?

 

Your Shopping Cart is empty!

 

thx for any tips and advice

 

PS to moderators pls transfer this topic to Osc 2.x thx

Archived

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

×
×
  • Create New...