Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie Question


Michelle3

Recommended Posts

Posted

I really hope this hasn't been a topic before but I couldn' t find anything. I am very new to this and totally confused. I have a bunch of stuff on my store front and I need to be able to delete it but don't know how. I don't understand the directions they have on the storefront as to how to delete it. Any help in lamemans terms would be great.

 

Thanks so much!!

Posted
I really hope this hasn't been a topic before but I couldn' t find anything.  I am very new to this and totally confused.  I have a bunch of stuff on my store front and I need to be able to delete it but don't know how.  I don't understand the directions they have on the storefront as to how to delete it.  Any help in lamemans terms would be great.

 

Thanks so much!!

 

Which instructions on the index page do you not understand?

 

The warning mesages at the top of the page, and how to alter the index page, have been dealt with numerous times in these forums, so the answers should be easy to find. Do a search for the seperate items you wish to know, and you should find the answers. Most of them wil be in the installatiion and setup area of the forum.

 

Failing that post them here, and you may get help.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted
I really hope this hasn't been a topic before but I couldn' t find anything.  I am very new to this and totally confused.  I have a bunch of stuff on my store front and I need to be able to delete it but don't know how.  I don't understand the directions they have on the storefront as to how to delete it.  Any help in lamemans terms would be great.

 

Thanks so much!!

 

If you are asking about the preloaded products etc - you can delete them via the admin function of your store - or thro a direct deletion on the database.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Posted
I really hope this hasn't been a topic before but I couldn' t find anything.  I am very new to this and totally confused.  I have a bunch of stuff on my store front and I need to be able to delete it but don't know how.  I don't understand the directions they have on the storefront as to how to delete it.  Any help in lamemans terms would be great.

 

Thanks so much!!

 

 

 

Check out this book, I here it's preety good for newbies:

 

http://www.amazon.com/exec/obidos/redirect...ooks%26n=507846

Posted

That looks like a great book, I will have to check it out but for now I really need to get my store up and running. Help!!! I have been searching the board and found out a few things I could do but not all.

 

This is my site: http://www.beyondpaper.net/store/

 

I can't figure out how to get rid of:

 

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

 

Error Messages

 

If there are any error or warning messages shown above, please correct them first before proceeding.

 

Error messages are displayed at the very top of the page with a complete background color.

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:

 

define('TEXT_MAIN', '');

 

More information concerning the PHP define() function can be read here.

Securing The Administration Tool

 

It is important to secure the Administration Tool as there is currently no security implementation available.

Online Documentation

 

Online documentation can be read at the osCommerce Wiki Documentation Effort site.

 

Community support is available at the osCommerce Community Support Forums site.

 

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2

 

 

 

I also can't figure out how to change the little blue boxes you see on the site.

 

Please help :( :'( :'( :'(

Posted
That looks like a great book, I will have to check it out but for now I really need to get my store up and running.  Help!!!  I have been searching the board and found out a few things I could do but not all.

 

This is my site:  http://www.beyondpaper.net/store/

 

I can't figure out how to get rid of:

 

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

 

Error Messages

 

If there are any error or warning messages shown above, please correct them first before proceeding.

 

Error messages are displayed at the very top of the page with a complete background color.

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

Editing Page Texts

 

The text shown here can be modified in the following file, on each language basis:

 

[path to catalog]/includes/languages/english/index.php

 

That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules.

 

The text is set in the following manner:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:

 

define('TEXT_MAIN', '');

 

More information concerning the PHP define() function can be read here.

Securing The Administration Tool

 

It is important to secure the Administration Tool as there is currently no security implementation available.

Online Documentation

 

Online documentation can be read at the osCommerce Wiki Documentation Effort site.

 

Community support is available at the osCommerce Community Support Forums site.

 

If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2

I also can't figure out how to change the little blue boxes you see on the site.

 

Please help  :(  :'(  :'(  :'(

 

You need to edit /includes/languages/english/index.php

Posted

ok, I found it :lol: So do I just delete all the extra stuff or is there only certain things I should take out? Thank you so very very much!!!!

Posted
ok,  I found it    :lol:    So do I just delete all the extra stuff or is there only certain things I should take out?    Thank you so very very much!!!!

 

You have to find the line

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

and then you can edit/delete everything between the ' marks

 

leave the surrounding code in - define('TEXT_MAIN', 'edit or delete this bit');

 

Hope this helps

Posted

Ok I really appreciate this!!!

 

This is what the page says now:

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 33

 

 

 

This is how I edited it:

 

 

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>');

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') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Products in this category...');

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_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Welcome to the Scrapendous Shop....');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Posted

define('TEXT_MAIN', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>');

 

Try this:

define('TEXT_MAIN', '<br><p><font size=/"2/">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color=/"red/">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color=/"black/">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align=/"center/"><font size=/"1/">*Please note, there is a minimum order of $5.00*<br>');

 

Basically, the info on your home page is being pulled from between the two '' after TEXT_MAIN', and every time you use certain characters, the code gets confused. By adding the / infront of those characters, you are telling the code that this is a text character, not coding. The main problem in your text is the inverted commas ("). I think this is correct, try it and see.....

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted

Ok, now this is what it said:

 

Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 34

Posted

define('TEXT_MAIN', '<br><p><font size=/"2/">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color=/"red/">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color=/"black/">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align=/"center/"><font size=/"1/">/*Please note, there is a minimum order of $5.00/*<br>');

 

Try that one - sorry I forgot to put the / before your * marks!

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted

Now it says:

 

Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/includes/languages/english/index.php on line 35

Posted

Do not use the file manager (if you are) there are bugs and it can mess up the code

 

try this

 

<?php
/*
$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright ? 2003 osCommerce

Released under the GNU General Public License
*/

define('TEXT_MAIN', '<br><p><font size="2">We are happy to have you join us. Please let us know if there are any products you are looking for.<p><b><font color="red">A few important things to remember while shopping at BeyondPaper.....</font color></b><br><br>You <b><font color="black">MUST</font color></b> click the continue button after paying using PayPal to be brought back to the site. If you do not click continue, I will have no record of your transaction. After your transaction you should be brought to an Order Confirmation Page, which will let you know that we recieved your order.<p><p align="center"><font size="1">*Please note, there is a minimum order of $5.00*<br>');
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') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
define('HEADING_TITLE', 'Products in this category...');
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_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
define('HEADING_TITLE', 'Welcome to the Scrapendous Shop....');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', 'Categories');
}
?>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

File manager that comes with oscommerce. Not sure about one that may come with your host.

 

Normally I suggest getting an ftp program and an editer... even notepad will work but there are editers that will recognise php (you can get them for free if you search on the web). Download the page you want to edit, edit it then reupload it to your server.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

I am so sorry to keep asking these stupid questions, This is so frustrating. :'(

 

I guess I didn't realize it would be so complicated. :'(

Posted

If you use notepad to edit your files, you will still need an ftp program to download the file (so you can edit it) and upload the file (once you have made the changes).

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
So basically the only way I can edit this is through ftp?  I was told by my host that I didn't nee ftp to edit it.    :o

 

I use SmartFTP - it's simple to use and free! You can get it here

 

Hope this helps :rolleyes:

Posted

Thanks Chris!!! Is there somewhere I can go to find out how to run it now. Or could you explain what I do now?

 

Michelle

Posted

Ok, I figured out FTP and I uploaded it to my site and it is still saying:

 

 

Parse error: parse error, unexpected T_STRING in /home/scrap4/public_html/store/index.php on line 34

 

 

 

Help I am clueless what to do. :'(

Posted

Is there any way I can get a copy of what it said before I started editing it and then start all over? I didn't back it up before I did this. Or is there a way to just reinstall it? Please help I am at a loss here and going on three days of trying to fix this.

Archived

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

×
×
  • Create New...