wadago Posted September 7, 2003 Posted September 7, 2003 Newbie here...Getting the hang of building the store but when you visit my store :?: http://www.advantagebaitco.com/osCommerce it says this is a sample store and if you try to buy it wont work...how do I get it to be a working store? Can someone point me in the right direction? Im building the store right on the host server not my computer. Looks like everything is there.
Guest Posted September 7, 2003 Posted September 7, 2003 Please read the docs at http://wiki.oscommerce.com/ or search the forums. Your question has been asked and answered here 1000000000000000 times. No need for it to be asked again when the answer is in the docs. :wink:
wadago Posted September 7, 2003 Author Posted September 7, 2003 I cant find an answer to my asked 1000 times question in the docs...can you tell me where exactly I might find it :oops:
amoun Posted September 8, 2003 Posted September 8, 2003 It is a working store if you modify it use your email address and set up a payment system. just read all of www.wiki.oscommerce.com and lots of the posts on configuration to set it up more personsly. The not that it's a sample store only means that the programme doesn't send to a real email and theres no payment function initialted to real person. roger facts invariably distort the truth
wadago Posted September 8, 2003 Author Posted September 8, 2003 Roger-how do I modify it and set up my email address? Take a look at the following address and you'll see what Im talking about Thanks... http://www.advantagebaitco.com/osCommerce
amoun Posted September 9, 2003 Posted September 9, 2003 use the admin to set your email. There are included modules for some payment methods. You'll have to be more specific abvoutbyour problem. Modifying is just a matter of entering your products. Change the text on thr first page. the programme will send you an email of any purchase. Set up your own account. buy from yourself. You'll get an email etc. All this is in wiki documentation mentioned before and/or on the forums. there are hundreds of posts refering to each idea :? Maaybe you are nit getting enough sleep to be able to see the wood from the trees. Roger facts invariably distort the truth
wadago Posted September 9, 2003 Author Posted September 9, 2003 This is what I see when I go to my store... :? This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.I dont want this to be the case when customers visit the store.I've added products and everything else so the stores ready for people to buy...but they cant buy if they get the above paragraph on their page. Im confused...dont see anything in the docs about final step in turning store from fictional to factual. Thanks, Wade
wizardsandwars Posted September 9, 2003 Posted September 9, 2003 Wade, you simply remove the text. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Orphon Posted September 9, 2003 Posted September 9, 2003 it IS a real store as soon as you add your own items and information... there is no magic switch! Just remove the text. From the Docs-----> http://wiki.oscommerce.com/helpHowtoTextGeneral Q: How do you change the index.php introduction and welcome text? A: catalog/includes/languages/english/index.php You will need to change index.php in all of the language folders You can also change the heading title names in here. ONLY difference is, depending on what version of OSC you are using it might be default.php and not index.php Angela
Guest Posted September 9, 2003 Posted September 9, 2003 Go into your file manager and open up the file: catalog/includes/languages/english/index.php (default.php on older versions) You will find that text where it says define('TEXT_MAIN', 'yadayadayada'); Change it to what you would like it to say...just be sure to leave the ' before and after the text. HTH
amoun Posted September 9, 2003 Posted September 9, 2003 I would use anything but file manager. www.tsware.net provides tswebcoder or use wordpad. Read the www.wiki.oscommerce.com it answers all the questions about removing the text you don't want etc. roger facts invariably distort the truth
wadago Posted September 10, 2003 Author Posted September 10, 2003 I found the file and text and got rid of it but now I have a parse error on line 13. and can still see TEXT_MAIN on the store page, I removed it from the code and it's still there...hmmm. Heres the code,where did I go wrong?... [/code]<?php /* $Id: default.php,v 1.18 2002/01/14 10:34:17 jan0815 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to Advantage Bait Company's online bait shop<br>This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');
Guest Posted September 10, 2003 Posted September 10, 2003 Try it like this define('TEXT_MAIN', 'Welcome to Advantage Bait Company's online bait shop<br>This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.'); You needed a space after the first comma and before a ' you have to put a so it looks like this ' HTH The_Bear
wadago Posted September 10, 2003 Author Posted September 10, 2003 Now I have a parse error on line 62 across the top of my store...I dont even see a line 62 in my code. Can you look at the store and see what im talking about? http://www.advantagebaitco.com/osCommerce Im soooo confused... Here's code for default.php if you could take a gander, THANX,THANX...Do you see a parse error in a line 62? <?php/* $Id: default.php,v 1.18 2002/01/14 10:34:17 jan0815 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to Advantage Bait Company's online bait shop<br>This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) { define('HEADING_TITLE', 'Let's See What We Have Here'); define('TABLE_HEADING_IMAGE', "'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); define('TEXT_ALL', 'All'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); ?>
Guest Posted September 10, 2003 Posted September 10, 2003 Somehow you deleted the closing "}" so change the bottom of the file from this: } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); ?> To this: } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
wadago Posted September 10, 2003 Author Posted September 10, 2003 I did that and still wont work. In fact everytime I save the code after a fix and refresh the store in browser the parse error goes up a line...hmmmm, i.e. Parse error: parse error in /home/rhonda44/public_html/osCommerce/includes/languages/english/default.php on line 66 was 65 last time ...then 64 time before that...MADNESS! what have I done? :oops: :? :x :evil: :cry:
wadago Posted September 10, 2003 Author Posted September 10, 2003 I deleted empty lines in code so now the error is in line 40 which is the very last line ov code...the ?> closing tag.Heres my new default page... <?php/* $Id: default.php,v 1.18 2002/01/14 10:34:17 jan0815 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to Advantage Bait Company's online bait shop<br>This shop is based on <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) { define('HEADING_TITLE', 'Let's See What We Have Here'); define('TABLE_HEADING_IMAGE', "); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); define('TEXT_ALL', 'All'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> is the closing quote suppose to be php?> Is there another file somewhere i need to make changes to. Why is the HEADING_TITLE (some text about loging in) and the TEXT_MAIN still there? See what I mean at http://www.advantagebaitco.com/osCommerce
Guest Posted September 10, 2003 Posted September 10, 2003 When I copied and pasted the code you posted into a php editor it showed an error. This line was incorrect: define('TABLE_HEADING_IMAGE', "); You have a "(quote) at the end instead of two '(apostrophes)... try changing that line to: define('TABLE_HEADING_IMAGE', ' ');
wadago Posted September 10, 2003 Author Posted September 10, 2003 YOU DA MAN!!!! I LUV YA!!! THANKS A GAZILLION :D :D :D :D :D :) :lol: :wink: :!: :!:
Guest Posted September 10, 2003 Posted September 10, 2003 No problem...now go out and download yourself one of the free php editors that are out there! :) These editors color code the text so it is pretty clear whenever you have an error someplace as all of the text below the error will be the wrong color. Amoun posted a link to where you can get one, Winsyntax works ok, and PHPEdit also works well. Here is where you can download them so take your pick: http://www.phpedit.net/products/PHPEdit/ http://download.com.com/3000-2048-10143719...tml?tag=lst-0-1 http://download.com.com/3000-2048-10218587...tml?tag=lst-0-2
wadago Posted September 10, 2003 Author Posted September 10, 2003 Thanks Justin, I'll give em a try. One more question...do you know what file I would go to to edit the bar across the page that has the Top >> Catalog MY Account| Cart Contents| Checkout ? I think customers will have trouble figuring out that the "TOP" link goes back to the main site...dont you?Thanks MUCH again, Wade
amoun Posted September 11, 2003 Posted September 11, 2003 Please read the www.wiki.oscommerce.com and search the forums. I've just spent a few miniutes in wiki and found this. " Remove >> In Header Navigation Go to catalog/includes/header.php on line 42 you'll see: < ?php echo $breadcrumb->trail(' » '); ?> Replace ? with whatever you want. See the below example: < ?php echo $breadcrumb->trail(' :: '); ?> " As freerangemun says 'I have three kids, how hard can this be@ or domething like that. I know getiing help is nice because you don't have to do the work, but please try a bit of looking and searching on your own befopre you ask others to help. i do like to help but it does pi** me off a big bit :roll: The above is not an answer to your question exactly but I've seen this questiojn asked and answered many times. Just folloeww your nose. Roger roger facts invariably distort the truth
Guest Posted September 21, 2003 Posted September 21, 2003 wadago, perhaps you should dig into the matter a bit more. The fact that osC is free really shouldn't mean that you don't have to do anything. Your site, well, it looks awful... I'm sorry. It's the equivalent of a Tripod website made with the automatic website creator. Do you get a lot of customers?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.