Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse Error


dapeche

Recommended Posts

I am trying to edit the main page text only and also the title page.

The title page is being edited in catalog/includes/languages/english.php

This is what it looks like now

 

// page title
define('TITLE', 'osCommerce');

// header text in includes/header.php
define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');
define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents');
define('HEADER_TITLE_CHECKOUT', 'Checkout');
define('HEADER_TITLE_TOP', 'Top');
define('HEADER_TITLE_CATALOG', 'Catalog');
define('HEADER_TITLE_LOGOFF', 'Log Off');
define('HEADER_TITLE_LOGIN', 'Log In');

This is what I am changing

// page title
define('TITLE', 'www.saSignWorks.com Online Super Store');

// header text in includes/header.php
define('HEADER_TITLE_CREATE_ACCOUNT', 'Create a Profile');
define('HEADER_TITLE_MY_ACCOUNT', 'My Profile');
define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
define('HEADER_TITLE_CHECKOUT', 'Checkout');
define('HEADER_TITLE_TOP', 'Home');
define('HEADER_TITLE_CATALOG', 'Online Super Store');
define('HEADER_TITLE_LOGOFF', 'Log Off');
define('HEADER_TITLE_LOGIN', 'Log In');

 

But I keep getting a parse error code when I do these changes. Please help. :blink:

Link to comment
Share on other sites

try replacing these 2 defs with a single word for testing.

 

define('TITLE', 'saSignWorks');

define('HEADER_TITLE_CATALOG', 'Home');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...