Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

OS Commerce customization

 
   Web Hosting Problem Solving Community! (Home) -> ECommerce RSS
Next:  Shipping component for UK parcel companies  
Author Message
mimages

External


Since: Oct 06, 2003
Posts: 9



(Msg. 1) Posted: Mon Oct 06, 2003 5:48 am
Post subject: OS Commerce customization
Archived from groups: alt>ecommerce (more info?)

Is it possible to customize the header or logo in an OS Commerce shopping
cart so that it doesn't say OSCommerce? I'd really rather have my own logo
up there, if possible.

Thanks.

 >> Stay informed about: OS Commerce customization 
Back to top
Login to vote
spammersrloser

External


Since: Oct 10, 2003
Posts: 14



(Msg. 2) Posted: Mon Oct 06, 2003 5:49 pm
Post subject: Re: OS Commerce customization [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <GJ4gb.7877$qw.888513@twister.tampabay.rr.com>,
mimages RemoveThis @NOSPAMspvision.com says...
 > Is it possible to customize the header or logo in an OS Commerce shopping
 > cart so that it doesn't say OSCommerce? I'd really rather have my own logo
 > up there, if possible.

Absolutely. Indeed, that's the beauty of an open-source solution like
OSCommerce; it can be customized to your heart's content. Some of the
sites featured in the live shop showcase
(http://www.oscommerce.com/shops/live) bear virtually no resemblance to
a stock OSC site.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: OS Commerce customization 
Back to top
Login to vote
user3020

External


Since: Sep 14, 2003
Posts: 4



(Msg. 3) Posted: Mon Oct 06, 2003 8:10 pm
Post subject: Re: OS Commerce customization [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

mimages wrote:
 > Is it possible to customize the header or logo in an OS Commerce shopping
 > cart so that it doesn't say OSCommerce? I'd really rather have my own logo
 > up there, if possible.
 >
 > Thanks.
 >
 >

Yes indeed. The logo image can be replaced with an image file of your own.
The current file is located under catalog/images/logo.gif


--
Michael Loke
Entier - Secure Affiliate Tracking Software
- Selling your products and services for you -
<a style='text-decoration: underline;' href="http://www.entiersoft.com" target="_blank">www.entiersoft.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: OS Commerce customization 
Back to top
Login to vote
mimages

External


Since: Oct 06, 2003
Posts: 9



(Msg. 4) Posted: Tue Oct 07, 2003 3:44 am
Post subject: Re: OS Commerce customization [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Cool! I'll check out the link.

Thanks

"Jawn" <spammersRlosers.RemoveThis@spamcop.net> wrote in message
news:MPG.19eb832fb7c2ef879897b4@pdx.news.speakeasy.net...
 > In article <GJ4gb.7877$qw.888513@twister.tampabay.rr.com>,
 > mimages.RemoveThis@NOSPAMspvision.com says...
  > > Is it possible to customize the header or logo in an OS Commerce
shopping
  > > cart so that it doesn't say OSCommerce? I'd really rather have my own
logo
  > > up there, if possible.
 >
 > Absolutely. Indeed, that's the beauty of an open-source solution like
 > OSCommerce; it can be customized to your heart's content. Some of the
 > sites featured in the live shop showcase
 > (http://www.oscommerce.com/shops/live) bear virtually no resemblance to
 > a stock OSC site.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: OS Commerce customization 
Back to top
Login to vote
newsposting020

External


Since: Jul 04, 2003
Posts: 93



(Msg. 5) Posted: Tue Oct 07, 2003 11:43 am
Post subject: Re: OS Commerce customization [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jawn <spammersRlosers RemoveThis @spamcop.net> wrote in message news:<MPG.19eb832fb7c2ef879897b4 RemoveThis @pdx.news.speakeasy.net>...
 > In article <GJ4gb.7877$qw.888513@twister.tampabay.rr.com>,
 > mimages RemoveThis @NOSPAMspvision.com says...
  > > Is it possible to customize the header or logo in an OS Commerce shopping
  > > cart so that it doesn't say OSCommerce? I'd really rather have my own logo
  > > up there, if possible.
 >
 > Absolutely. Indeed, that's the beauty of an open-source solution like
 > OSCommerce; it can be customized to your heart's content. Some of the
 > sites featured in the live shop showcase
 > (http://www.oscommerce.com/shops/live) bear virtually no resemblance to
 > a stock OSC site.

The images at the top of the page (logo and standard buttons) are
produced by the header.php file which is found under the osCommerce
installation folder.

../includes/header.php

The section you want contains the reference to oscommerce.gif

In osCommerce 2.2 MS1, the table containing the image and buttons can
be found beginning at line 51 of header.php (your installation may
differ), but it looks a lot like this:

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td valign="middle"><?php echo tep_image(DIR_WS_IMAGES .
'oscommerce.gif', 'osCommerce'); ?></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, '', 'NONSSL') . '">' .
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>
</table>


Note the embedded php echos - which all use the functions tep_image.
This function builds the image/link reference and passes the session
ID where appropriate.

This function is found in the folder functions which is under the
osCommerce includes folder (again, found under the installation
folder), more specifically, it's found in the file html_output.php.

you just need to get to grips with what files default.php (found in
the catalog installation folder) pulls together to understand how the
site design hangs together - each of those files should be easy to
understand - they are just php, and you should be able to underand
what they are doing without being a php wizard. If you can't read
HTML and understand what is being done, you will have problems reading
these files.

regards

Greg Hewitt-Long

--
<a style='text-decoration: underline;' href="http://aaabusinesshosting.com/oscommerce_hosting" target="_blank">http://aaabusinesshosting.com/oscommerce_hosting</a>
<a style='text-decoration: underline;' href="http://www.webyourbusiness.com/" target="_blank">http://www.webyourbusiness.com/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: OS Commerce customization 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> ECommerce All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]