Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Sales message goes here

    This is the first time I have used this software. I've had some experience with oscommerce so hopefully I shouldn't have too much of a problem configuring things.

    However, I've run into a bit of a problem from the word go. I cannot seem to remove the sentence "sale message goes here" which appears on the home page. I'm sure I'm in the correct file, header.php.

    I don't want any writing at the top so I have changed the code to the following:
    define('HEADER_ALT_TEXT',");
    define('HEADER_SALES_TEXT',");

    this doesn't seem to make any difference, the text remains as you can see. This is only a test site by the way.

    http://www.commerce5.pennwooding.com/

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Sales message goes here

    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3

    Default Re: Sales message goes here

    I having created anything. I just installed the basic version. Then I went in to include/English/header.php and make the adjustments but nothing seems to work.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Sales message goes here

    Read the tutorials I listed.

    If you edit the files that came with Zen Cart and don't create your own template, all your changes will be lost with the next update/upgrade.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5

    Default Re: Sales message goes here

    Thanks, will do

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Sales message goes here

    Hint: if you read the first tutorial I listed, you'll see that the text is coming from a different file than the one you edited.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Sales message goes here

    OMG - why couldn't this be easier to fix? I have spent 3 hours now trying to fix/get rid of this dam message!

    I'm good with hand coding html but this whole php / server stuff is completely new and for the life of me I can find

    includes/languages/english/classic/header.php

    it also took me 3 hours to find out where you hid the header log.

    I have the book but it's not clear on any of this.

    I installed it onto my local like this:

    c:>server>xampp>xampp>all the files listed here

    I see the htdocs folder click

    I see the store folder click

    I see the includes folder click

    I see languages folder - containing classic and english folder -

    I click the classic - it's empty except an empty empty text doc so...

    I go back one level and click the english folder and see the header.php file I click it and see this:

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $
    */
    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'j edward cook - on line store');
    define('HEADER_SALES_TEXT', 'TagLine Here');
    define('HEADER_LOGO_WIDTH', '192px');
    define('HEADER_LOGO_HEIGHT', '64px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');
    ?>

    note: I changed define('HEADER_ALT_TEXT', 'j edward cook - on line store'); to this to see if it would do anything - no changes seen.

    What am I doing wrong?
    Note I also tried the "Sales Message Goes Here" in the search field in the forums but nothing came up. Don't know if I did that wrong too.

  8. #8
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Sales message goes here

    Never mind I found it - maybe I'm sleepy - been exhauisted all week.

    Inside the english folder you will find another "classic" folder not like the other classic folder mentioned above - I think this is what was throwing me and perhaps others off.

    If you click on the classics inside you will find the header PHP file there.

    sorry for the rant - but is been a while - LOL

  9. #9
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Sales message goes here

    Ok deleted the line for sales message goes here and now get this at top of webpage

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: header.php 2848 2006-01-14 09:47:08Z wilt $
    */
    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT','Enter search keywords here');
    ?>

    Warning: Cannot modify header information - headers already sent by (output started at C:\server\xampp\xampp\htdocs\store\includes\languages\english\classic\header.php :12) in C:\server\xampp\xampp\htdocs\store\includes\init_includes\init_templates.php on line 78

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Sales message goes here

    You do not need to delete
    i.e.
    Code:
    define('HEADER_SALES_TEXT', 'TagLine Here');
    becomes
    define('HEADER_SALES_TEXT', '');

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Sales Message goes here & Zen Cart Message
    By ljwalk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Oct 2009, 04:55 PM
  2. getting rid of the Sales Message Goes Here message
    By brianrudie in forum General Questions
    Replies: 13
    Last Post: 7 Aug 2009, 09:24 AM
  3. Sales Message Goes Here
    By myRainbow in forum General Questions
    Replies: 3
    Last Post: 5 Jan 2008, 01:53 AM
  4. Sales Message Goes Here
    By Canadian Bandit in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jun 2006, 12:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg