Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help I am a Newbie


wholesaler

Recommended Posts

I need a little help here.

I am moving trying to move from Cubecart (used Cubecart for years) to OsCommerce.

I am having a little trouble trying to figure out how to edit pages. Where do you find these pages to edit? Such as the Shipping $ Return, Contact Us, Privacy Notice and Conditions of use.

I see there is no real listing for these pages in the admin section or I am just blind.

How do I change the names of these pages, delete and add pages if I so desire?

Cubecart comes with the FCK editor. I tried to install the FCK editor in OsCommerce but failed.

I am using a ready made modified store.

 

Cheers

 

:-"

Link to comment
Share on other sites

Welcome to Oscommerce.

 

Most text is edited in the language files. Not through admin, but via ftp to your actual files.

through Cpanel or ftp, find yoursite/includes/languages/english/****.php

 

Where ****.php is any one of many files.

shipping.php

contact_us.php

etc.

 

Tim

Link to comment
Share on other sites

Oscommerce generates most of its text information from files like the catalog/includes/languages/english/shipping.php pages.

 

It does this by using a statement like

define('TEXT_INFORMATION', ' Your Text information goes here, you can use html like <b>THIS WOULD BE BOLDED</b>');

 

Then it calls the variable TEXT_INFORMATION inside the catalog/shipping.php page by its name. That way if you're using multiple languages it retrieves the proper language from the proper location.

example

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

 

To delete the pages the easiest thing to do would be not to delete them, but to comment out the call to them

 

For example in your catalog/includes/column_left.php there will be a reference to the information box

require(DIR_WS_BOXES . 'information.php');

 

So based of the statement Require(DIR_WS_BOXES you know the privacy page is getting linked from there.

 

So go to catalog/includes/boxes/information.php and comment out the call.

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
	//'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>');

 

 

To add new pages try this add-on.

Pagemaker

Link to comment
Share on other sites

Welcome to Oscommerce.

 

Most text is edited in the language files. Not through admin, but via ftp to your actual files.

through Cpanel or ftp, find yoursite/includes/languages/english/****.php

 

Where ****.php is any one of many files.

shipping.php

contact_us.php

etc.

 

Tim

 

Thanks Tim

Link to comment
Share on other sites

Oscommerce generates most of its text information from files like the catalog/includes/languages/english/shipping.php pages.

 

It does this by using a statement like

define('TEXT_INFORMATION', ' Your Text information goes here, you can use html like <b>THIS WOULD BE BOLDED</b>');

 

Then it calls the variable TEXT_INFORMATION inside the catalog/shipping.php page by its name. That way if you're using multiple languages it retrieves the proper language from the proper location.

example

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

 

To delete the pages the easiest thing to do would be not to delete them, but to comment out the call to them

 

For example in your catalog/includes/column_left.php there will be a reference to the information box

require(DIR_WS_BOXES . 'information.php');

 

So based of the statement Require(DIR_WS_BOXES you know the privacy page is getting linked from there.

 

So go to catalog/includes/boxes/information.php and comment out the call.

$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
	//'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>');

 

 

To add new pages try this add-on.

Pagemaker

 

Thanks NodsDorf I will give that page maker a try Cheers

Link to comment
Share on other sites

Thanks NodsDorf I will give that page maker a try Cheers

 

 

Well I tried out the pagemaker on my files and it kept coming up with an error saying english source file not found or invalid. Not sure what to make of that but it failed.

Just thought I would let ya know.

Cheers

Link to comment
Share on other sites

Well I tried out the pagemaker on my files and it kept coming up with an error saying english source file not found or invalid. Not sure what to make of that but it failed.

Just thought I would let ya know.

Cheers

 

You need to make/edit 3 pages for 1 page. I believe the instructions are included in pagemaker.

 

However here is the Oscommerce instructions on how to do it as well. http://www.oscommerc...g_Area/Boxes/49

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...