Results 1 to 10 of 35

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Sales message goes here help request

    Hello fellow Zenner's,

    I am a complete newbie to this system. I fell in love with it the first time I saw it. I am excited to set this system up and allow my site members to purchase products and services from the system.

    I have tried to change, and or move the sales message goes here to get it off of the catalog ribbon. I tried to upload and image in .doc format but the limit of file-size is tooo small. File size set to: 19kb, file actual size is: 273kb.

    I want to move this message down under the ribbon. You can view the site at:

    store

    Please help and be patient as I am new to this system and it is a little overwhelming after 4 years of basic php copy and paste to run out regular site.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sales message goes here help request

    First, the word 'ribbon' has no meaning in Zencart, so it's hard to see where you want the Sales Message to end up. If you want it below the header, it might be better to remove it completely and include your custom message by editing define_main_page.php in Admin - Tools - Define Pages Editor.

    The Sales Message (also known as the tagline) is text and can be changed following this tutorial:

    https://www.zen-cart.com/tutorials/i...hp?article=127

  3. #3
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: Sales message goes here help request

    Quote Originally Posted by stevesh View Post
    First, the word 'ribbon' has no meaning in Zencart, so it's hard to see where you want the Sales Message to end up. If you want it below the header, it might be better to remove it completely and include your custom message by editing define_main_page.php in Admin - Tools - Define Pages Editor.

    The Sales Message (also known as the tagline) is text and can be changed following this tutorial:

    https://www.zen-cart.com/tutorials/i...hp?article=127
    I apologize for the mis use of the word ribbon. In SMF the ribbon is the row of buttons, ie; forum, home, search, etc.

    On zencart, if you follow the link I posted, you can see the site as it currently is. The message as you can see is showing on top of the categories just below the banner image.

    I would like to move this down and place a message here. I tried adding spaces between the lines, and to no avail it stays in the same place.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sales message goes here help request

    Well, you would have to rearrange things in the tpl_header.php file if you want to move the Sales Message below the category tabs in the header.

    I don't think you could use a Word file in that place, anyway.

    Give us an idea of what exactly this message will say, and exactly where (relative to the category tabs in the header and the breadcrumbs) you want it. My sense is that it would probably be easier and just as effective if you didn't use the tagline, but put your message in the main page body, below the Welcome message.

    Also, pasting stuff into Zencart from Word or any WYSIWYG editor isn't the hot setup. Better to add an HTML editor to Zencart and use the editor in define_main_page.php or write the HTML yourself.

  5. #5
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: Sales message goes here help request

    Quote Originally Posted by stevesh View Post
    Well, you would have to rearrange things in the tpl_header.php file if you want to move the Sales Message below the category tabs in the header.

    I don't think you could use a Word file in that place, anyway.

    Give us an idea of what exactly this message will say, and exactly where (relative to the category tabs in the header and the breadcrumbs) you want it. My sense is that it would probably be easier and just as effective if you didn't use the tagline, but put your message in the main page body, below the Welcome message.

    Also, pasting stuff into Zencart from Word or any WYSIWYG editor isn't the hot setup. Better to add an HTML editor to Zencart and use the editor in define_main_page.php or write the HTML yourself.
    Well, when I delete the Sales Message it then replaces that message with the replacement text I believe it is called.
    If I wanted it to be blank, which was my original thought, how do I make that go away. The Sales message is not located in the define_main_page file. that waqs the first place I looked. I found it in the includes\languages\english\classic\header.php file.


    The file reads:

    <?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_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');

    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');

    ?>
    Last edited by TheMortician4; 19 Jan 2012 at 09:34 PM.

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

    Default Re: Sales message goes here help request

    To make it "go away' change

    Code:
    define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');
    to

    Code:
    define('HEADER_SALES_TEXT', '');
    (Color added to make it clearer).

    You should save the changed file to includes\languages\english\YOUR_TEMPLATE\header.php where YOUR_TEMPLATE is the name of your custom template. If you haven't done so, please check the Tutorials/FAQ for information on the overrides system.
    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
    Jan 2012
    Location
    New Jersey
    Posts
    74
    Plugin Contributions
    0

    Default Re: Sales message goes here help request

    Okay that worked this time. Last time I tried that I must have either left the header <h1> there or changed the position of something because the Alt Text showed up.


    Thank you

 

 

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 alptek in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Aug 2009, 12:07 AM
  4. Help with ... Sales Message Goes Here
    By dragonhorse in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Feb 2007, 05:17 PM

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