Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2012
    Posts
    19
    Plugin Contributions
    0

    Default adding text to the specials page

    i am using Zen Cart v1.50 with the Apparel Boutique template.

    i need to edit the specials page to say "There are currently no specials. Please check back soon".

    Probably me but i could not get the code implemented as per the http://www.zen-cart.com/showthread.p...-specials-page.

    no success at all - as a matter of fact the tpl_specials_default.php can not be found where they say it is

    Thank you in advance for any help.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding text to the specials page

    The /YOUR_TEMPLATE/ is a guide that you should copy the file into a folder named for your template before editing it. In the case shown in that thread, you would find
    /includes/templates/template_default/templates/tpl_specials_default.php

    and save it as:
    /includes/templates/YOUR_TEMPLATE/templates/tpl_specials_none_default.php

  3. #3
    Join Date
    Mar 2012
    Posts
    19
    Plugin Contributions
    0

    Default Re: adding text to the specials page

    wow i feel really stupid

    sorry i went to the actual 'Your Template' directory copied the tpl_specials_default.php to my apparel_boutique/templates/ directory then i editied as per their instructions and saved in my apparel_boutique/templates/ directory as /includes/templates/Apparel/templates/tpl_specials_none_default.php
    but still no success

  4. #4
    Join Date
    Mar 2012
    Posts
    19
    Plugin Contributions
    0

    Default Re: adding text to the specials page

    perhaps i am unclear as what they mean when they say end replaced with this:
    What does that mean replace the code or add it in and if so where?

    Code:
    require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');

    end replaced with this:


    Code:
    echo '<p>There are currently no specials. Please check back soon.</p>';Then I uploaded the new file to the respective template directory.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding text to the specials page

    saved in my apparel_boutique/templates/ directory as /includes/templates/Apparel/templates/tpl_specials_none_default.php
    You didn't actually make a new folder named "Apparel", did you? If you are using the apparel_boutique template, you would put that file in
    /includes/templates/apparel_boutique/templates/tpl_specials_none_default.php .

    "Replace" here does mean remove the first bit and add the second bit in the same place.
    Last edited by gjh42; 4 Dec 2012 at 01:52 PM.

  6. #6
    Join Date
    Mar 2012
    Posts
    19
    Plugin Contributions
    0

    Default Re: adding text to the specials page

    No i did not make a new directory and yes i did go to my /includes/templates/apparel_boutique/templates/tpl_specials_none_default.php
    exists which i found
    require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');

    and replaced it with
    echo '<p>There are currently no specials. Please check back soon.</p>';

    but i do not get any message on my specials page??

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding text to the specials page

    Did you change /includes/modules/pages/specials/main_template_vars.php as described in post 8 of that thread? (There is no override capability for the /modules/pages/ folders, so you have to edit the original.)

 

 

Similar Threads

  1. v139h Adding general text underneath specials on main page
    By Mitz85 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jul 2013, 01:36 PM
  2. Adding text to specials page
    By ebaobao in forum Setting Up Specials and SaleMaker
    Replies: 10
    Last Post: 13 Jun 2013, 06:31 PM
  3. Adding text in the category page
    By deraderut in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jan 2013, 01:27 PM
  4. Adding Text to Specials Page
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Oct 2012, 07:28 AM
  5. Adding Category Name to the New Products/Featured/Specials Boxes on Main Page
    By chinchilla2 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2006, 09:05 PM

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