Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Total id10t error on php knowledge


Guest

Recommended Posts

Posted

Can anyone help me getting started with osCommerce. I have little to NO knowledge of php and stylesheets are not my thing. I have built straight html based sites in the past but am trying to start a new business in e-commerce. Overall I am having trouble in every department so any assistance would be appreciated, especially somewhere to start. I learn fast so I won't be a huge hassle.

 

Please advise on customization of index.php first i guess.

 

DOMAIN: earthly-exotics.com

 

Am on Widnows based server and HostExcellence is my hosting provider.

 

Thanks in advance for ANYTHING!

 

Chuck

Posted
Check out the Basics of Design thread; it's got some good info in there.

 

Also, check out the documentation included with osCommerce and the Knowledge Base.

 

That has been help full but I cannot seem to find a way to change the box colors? And the header i would like to add graphic bg and own Co. logo, any help there?

Posted
That has been help full but I cannot seem to find a way to change the box colors?

Have a look at your catalog/stylesheet.css file. There's a Knowledge Base article that should help you here.

 

Alternatively you can use some of the Info Box contributions out there. :)

 

And the header i would like to add graphic bg and own Co. logo, any help there?

Check out catalog/includes/header.php

 

For the logo upload your image to the catalog/images directory. You can then either just rename it to: oscommerce.gif or alternatively you can call it whatever you want and change the following code in header.php:

  <tr class="header">
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
 </tr>

Posted
Have a look at your catalog/stylesheet.css file. There's a Knowledge Base article that should help you here.

 

Alternatively you can use some of the Info Box contributions out there. :)

Check out catalog/includes/header.php

 

For the logo upload your image to the catalog/images directory. You can then either just rename it to: oscommerce.gif or alternatively you can call it whatever you want and change the following code in header.php:

  <tr class="header">
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
 </tr>

 

ok im not sure what i did worng but that centered my content and turned it whit and grapgiced the background, also i cannot find a way to change the size of my boxes in the contaent table and would like info on puttuing my own in in that table????? HELP!!!!!!!! i look like an idiot, take a look if you don't mind http://www.earthly-exotics.com

 

PLEASE I NEED HELP BAD

Posted
ok im not sure what i did worng but that centered my content and turned it whit and grapgiced the background, also i cannot find a way to change the size of my boxes in the contaent table and would like info on puttuing my own in in that table????? HELP!!!!!!!! i look like an idiot, take a look if you don't mind http://www.earthly-exotics.com

 

PLEASE I NEED HELP BAD

 

Ok please EXPLAIN changing header BG color and Adding/Removing and renaming boxes..... also changing static width of boxes.

 

PLEASE EXPLAIN. I tried a couple of contirbutions and frankly i had to start ALL over.

 

For some reason my BD did not backup when instructed.

 

Please HELP

 

Thanx Chuck

Posted
thanks very cool... any info on moving cart and reviews to left columns.... can find nothing on moving them

Cut out the following two lines in catalog/includes/column_right.php and paste them into catalog/includes/column_left.php:

 

require(DIR_WS_BOXES . 'shopping_cart.php');
require(DIR_WS_BOXES . 'reviews.php');

Where you paste them into column_left.php will determine where they appear in the left column so backup first then experiment. :)

Archived

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

×
×
  • Create New...