Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > Scripts & Fantastico

Notices

Scripts & Fantastico Discussions, help and troubleshooting scripts included is adding popular Fantastico scripts to your website such as guest books, osCommerce shopping cart, polls, content management systems etc…

Reply
 
Thread Tools
  #1  
Old 11-25-2005, 02:43 PM
paulb's Avatar
Master Sergeant
 
Join Date: Aug 2005
Location: UK
Posts: 68
Default A Basic Guide to Customising OScommerce

A few people seem to be asking about how to change the default set-up in Oscommerce after downloading it via Fantastico, so I thought I would post a basic guide to transforming the default shop you get.

When you first come across the default shop it can be a little confusing because it gives instructions on the home page of how to change the text etc. What it doesn’t tell you is that you can’t do this from the admin panel, if you do you will more than likely get parse errors. What you have to do is edit the files directly off the server using a php editor.

Don’t worry it isn’t as hard as it sounds, basically you are not writing php code just altering it, which is pretty straight forward if you follow the instruction carefully.

Ok firstly you need a php editor to make life easy, I use a free one just search for the many free ones in Google

Simply download the php editor to your desktop set it to default for all php pages and when you double click on any php pages in blueftp it opens the page for editing.

So open Blueftp and find your shop, the rest is just following the file routes as follows. The following files will either be located in “catalog” or “admin” if you have loaded your shop into the route directory then you won’t have catalog, but just treat it the same i.e., where it says catalog/includes this will just be /includes if you don’t have catalog


Always save the original file to your hard drive before editing, that way if you have problems you can just upload the original file again.

How to change the home page text

Catalog/includes/languages/English/index.php … you will see where the text is to be changed. Save and upload to overwrite the old file.

Also here you change the title “what’s new here” in two place approx line 22 and line 40. This title is controlled from the stylesheet, so if you want to make it bigger or a different colour then that’s the place.

How to change the look and feel colours etc


Oscommerce uses a stylesheet to keep the look and feel consistent throughout the website. You can change the colours; font sizes etc, use an html colour chart to get the colour code you want. Just type in html true colour chart into Google and you will find lots of free ones. The style sheet is located here,

Catalog/stylesheet.css

When you change the box colours on your website you will notice that the corners of the boxes have not changed, this is because strangely they are images. They can be found not in the style sheet but in

Catalog/images/infobox there are four that need changing to the colour you chose in the stylesheet. We use a common package like Paint to do this. Just change the pixels using the editor in paint.

How to upload your banner

As most images in OSC are called from code elsewhere it’s best to simply upload your image with the same code. Theexisting header image is oscommerce.gif so all you need to do is design you banner and then save it as oscommerce.gif and upload it to replace the default one. The size of the banner should be exactly 780 X 110 pixles.

You upload it here,

Catalog/images

How to delete the three small images next to the banner


Catalog/includes/header.php …. On line 58 put // in front of the code (this comments it out) if this doesn’t work then you can take out the line of code completely

How to change the top left menu items “top and “catalog”to Home and Shop


Two files need altering here,

1) catalog/includes/application_top.php

in line 466 HEADER_TITLE “change TOP to HOME

in line 467 HEADER_TITLE “change CATALOG to SHOP”

2) catalog/includes/languages/English.php

in line 55 HEADER_TITLE “change both TOP words to Home”

in line 56 HEADER_TITLE “change both CATALOG words to SHOP”


How to turn off the OSC banner at the bottom


This is something that you can do from the admin section and not directly on the server. Go to your admin section (blue screen) select

tools/banners

You will see a red and green dot next to it, click the red dot to turn it off, DO NOT delete the banner totally as it is part of a banner group that needs to stay.

That’s about it, this should give you a basic look a feel, there is more to do but this is the main part done. If you have any problems post them and I will try to help. Also check out the osc forums. Remember before altering any pages always back up to your local drive


Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 11-25-2005, 02:52 PM
VodaHost's Avatar
General & Forum Administrator
 
Join Date: Mar 2005
Location: Wilmington, Delaware USA
Posts: 8,630
Default Re: A Basic Guide to Customising OScommerce

Very well said...
__________________
VodaHost
Your Website People!
1-302-283-3777 North America / International
07092887580 / United Kingdom

Military Ranking System Explained


Click Here to take the royal VodaHost Tour
Click Here for the VodaHost Help Centre & Tutorials
Got a question? - Try a forum search! Available at the top of every page!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 07-28-2007, 06:21 PM
Private
 
Join Date: Jul 2007
Posts: 1
Default Re: A Basic Guide to Customising OScommerce

How do you move the right and left boxes around. Say for example I want to move the "Information" box from default lower left to lower right?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 08-30-2007, 04:18 PM
Private
 
Join Date: Aug 2007
Posts: 1
Default Re: A Basic Guide to Customising OScommerce

In my experience with oscommerce the best way to change the layout completely is to download Simple Template System (STS) from oscommerce.com (http://www.oscommerce.com/community/...all/search,sts)

You need some CSS knowledge, but overall it is easy to install and use.

Regards,

Gus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 09-06-2007, 10:09 AM
Private
 
Join Date: Aug 2007
Posts: 2
Default Re: A Basic Guide to Customising OScommerce

Paul.

Can u give me the link to the free php editor u r using?

I search at google, I am now more confused than ever. Pls help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 09-09-2007, 08:37 AM
Vasili's Avatar
The Generalissimo
 
Join Date: Mar 2006
Posts: 10,564
Thumbs up Re: A Basic Guide to Customising OScommerce

You will find one of the best Free php Editor Downloads here.

..Remember to bookmark the osCommerce Support Community (available using the link in my signature below) to take advantage of the many new solutions you can take advantage of, now that the newest version has stabilized.
__________________
_____________________________________________________________________________ .*.* . .* . * . * .*
My Websites... VodaHost Support....Soholaunch Support....osCommerce Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 11-12-2008, 02:47 AM
Private
 
Join Date: Nov 2008
Posts: 1
Default Re: A Basic Guide to Customising OScommerce

Hello, thank you for your good support. I am building my ecommerce site for import-export south korea-europe.
Do you have some suggestions regarding add-ons useful in order to manage import-export activities?
Find here my Company site on renewable energy:
http://www.energie-rinnovabili.net
And oscommerce:

http://www.wiojvccommunication.net/p...products_id=28

Ciao,
Claudio
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 11-13-2008, 02:18 AM
Vasili's Avatar
The Generalissimo
 
Join Date: Mar 2006
Posts: 10,564
Default Re: A Basic Guide to Customising OScommerce

Any add-on's to the standard osCommerce foundation must be selected to enahance your own Business Plan or to enable you to produce the results (or processing) that you require.

There are literally thousands to choose from, and they cover many categories that you might express an interest in. It is always wise to detail your Business as much as possible, and to use those details to outline your processes: add-on's may help to address a peculiar requirement (like shipping internationally, for instance) or solve one of the more generic challenges (handling multiple orders and split transactions, for example).

Without a detailed Business Plan, you can only guess at things rather than evolve effectively.

Find osCommerce Add-on's Here
__________________
_____________________________________________________________________________ .*.* . .* . * . * .*
My Websites... VodaHost Support....Soholaunch Support....osCommerce Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 12-15-2008, 09:53 PM
Private
 
Join Date: Dec 2008
Posts: 1
Question Re: A Basic Guide to Customising OScommerce

Hello, I just download one php editor, but now I am lost. You said: "Simply download the php editor to your desktop set it to default for all php pages and when you double click on any php pages in blueftp it opens the page for editing."
ok, I am really starting editing now andhow do I set it to default for all php pages. I understand what it will do but have no idea how to do it.
Then you said: "So open Blueftp and find your shop".
Both are mystery to me...
Please help!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 01-23-2009, 08:51 PM
ericacrosley's Avatar
Sergeant
 
Join Date: Oct 2007
Location: Arlington, TX
Posts: 31
Smile Re: A Basic Guide to Customising OScommerce

Vasili,
You rock!! I'm a complete amatuer with php and was totally lost with osCommerce. I can follow instructions and the video clips from Vodahost are good. Now with the Editor and Vodahost instructions I was able to fix the index page for my store. Thank you so much!!

Erica



Quote:
Originally Posted by Vasili View Post
You will find one of the best Free php Editor Downloads here.

..Remember to bookmark the osCommerce Support Community (available using the link in my signature below) to take advantage of the many new solutions you can take advantage of, now that the newest version has stabilized.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 01-23-2009, 10:40 PM
ericacrosley's Avatar
Sergeant
 
Join Date: Oct 2007
Location: Arlington, TX
Posts: 31
Default Re: A Basic Guide to Customising OScommerce

Ok I've fixed my index page. And I've studied the tutorial on how to fix the header.php. However there is one .jpg that I can't find in the script. However I know it is there because I renamed my picture with the original picture's name and now there isn't a picture. How do I find the picture name in the script?

My website is www.bonnybows.com/store
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Guide VodaBot Google 25 02-27-2009 03:39 AM
OsCommerce vs. ZenCart vs Paypal jodest73 Zen Cart 4 08-15-2007 12:36 PM
The Hard Drive Buyers Guide VodaBot Personal Computer Forum 1 12-20-2005 12:50 PM
osCommerce Images Sarah Scripts & Fantastico 3 10-26-2005 04:24 PM


All times are GMT +1. The time now is 03:40 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194