Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Apr 2009
    Posts
    42
    Plugin Contributions
    0

    Default Specials, Featured, etc at Top Of Category List

    Hi all, does anyone have any idea how i can move the Specials, Featured Products etc, from the bottom to the top of the categories list?

    I found a post that shows someone had luck, but unfortunately the two people involved seemed to do everything via emails and private messages and no details are showing,

    While on that topic how do i change the text from 'Specials ...' to 'Special Offers' i did a search via Developers Tool Kit, but it only came back with the text for the Specials Sidebox.

    Pete

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials, Featured, etc at Top Of Category List

    Peek at the template file:
    tpl_index_product_list.php

    Notice everything below about line 108 ... this is all of the centerboxes ...

    Everything about the line 108 ... this is the product listing ...

    Be sure to use your templates and overrides ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Specials, Featured, etc at Top Of Category List

    Hi Ajeh, glancing at the code in tpl_index_product_list.php i would guess it was responsible for the layout of the centre boxes on the index page and not the categories list is that correct?

    Or have i misread?

    Pete

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials, Featured, etc at Top Of Category List

    Below line 108 does the Center boxes ... above line 108 does the listing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials, Featured, etc at Top Of Category List

    NOTE: an even easier way is to comment out this code around line 90:
    Code:
    <?php
    /**
     * require the code for listing products
     */
     require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
    ?>
    And copy it to the bottom of the file before the closing </div>

    Now the Centerboxes come first and then the listing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: Specials, Featured, etc at Top Of Category List

    I think he's referring to the left side box, and wants to have specials, all products, new products etc above the categories...

  7. #7
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: Specials, Featured, etc at Top Of Category List

    Quote Originally Posted by scytheuk View Post
    While on that topic how do i change the text from 'Specials ...' to 'Special Offers' i did a search via Developers Tool Kit, but it only came back with the text for the Specials Sidebox.

    Pete
    Developers Tool Kit worked for me
    shop/includes/languages/YOUR_TEMPLATE/english.php
    Line #71 : define('TOP_MENU_SPECIALS', 'Specials');

    Line #108 : // specials box text in sideboxes/specials.php

    Line #109 : define('BOX_HEADING_SPECIALS', 'Specials');

    Line #110 : define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');

    Line #284 : define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> specials)');

    Line #513 : define('TABLE_HEADING_SPECIALS_INDEX', 'Monthly Specials For %s');

  8. #8
    Join Date
    Apr 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: Specials, Featured, etc at Top Of Category List

    Hi, Twaddle your completely right i mean the categories list on the left hand side (Main Menu, if that makes it easier)

    With regards to your comment on DTK, you found the same result i did, this line

    Line #110 : define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');

    is the heading for the sidebox for specials and not the menu entry

    Pete

    Edit - Actually reading again what you posted, you find an additional line to me,

    shop/includes/languages/YOUR_TEMPLATE/english.php
    Line #71 : define('TOP_MENU_SPECIALS', 'Specials');

    This one is not in my english.php file, although as it only says 'Specials' and not 'Specials ...' i would have possibly discounted it. Unless its the correct one, and the ' ...' is added in from elsewhere?

    Pete
    Last edited by scytheuk; 6 Apr 2010 at 05:16 PM. Reason: More Info

  9. #9
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: Specials, Featured, etc at Top Of Category List

    Quote Originally Posted by scytheuk View Post
    Hi, Twaddle your completely right i mean the categories list on the left hand side (Main Menu, if that makes it easier)

    With regards to your comment on DTK, you found the same result i did, this line

    Line #110 : define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');

    is the heading for the sidebox for specials and not the menu entry

    Pete

    Edit - Actually reading again what you posted, you find an additional line to me,

    shop/includes/languages/YOUR_TEMPLATE/english.php
    Line #71 : define('TOP_MENU_SPECIALS', 'Specials');

    This one is not in my english.php file, although as it only says 'Specials' and not 'Specials ...' i would have possibly discounted it. Unless its the correct one, and the ' ...' is added in from elsewhere?

    Pete
    You should have kep scrolling

    includes/languages/english/specials.php
    Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $

    Line #22 : define('NAVBAR_TITLE', 'Specials');

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Specials, Featured, etc at Top Of Category List

    Like duh ... 'cause I was thinking that change gave would be the dumbest thing to do on the Product Listing ...

    Thanks for jumping in there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to make Specials Category display at top of list?
    By nathanscrivener in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 31 Oct 2010, 06:52 AM
  2. Moving Featured Products, New Products, etc to the top of category list
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 10 Sep 2010, 10:21 AM
  3. Replies: 3
    Last Post: 26 Mar 2009, 07:12 AM
  4. Featured, Specials, etc.
    By FatGuyinAZ in forum General Questions
    Replies: 0
    Last Post: 9 Mar 2008, 12:01 AM
  5. Replies: 2
    Last Post: 31 Oct 2007, 10:52 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR