Thread: Specials Title

Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    2
    Plugin Contributions
    0

    Default Specials Title

    When the Specials contains no products, the page shows a blank screen. Can a title still shows with the text underneath "There are currently no specials included"

  2. #2
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,916
    Plugin Contributions
    3

    Default Re: Specials Title

    Why would you want to tell you customers something they don't need to know? If there are no specials, then no specials box appears. It's like putting up a sign in your high-street shop saying "There is NO SALE on today". Shopkeepers only display big SALE signs when there IS a sale on, not when there isn't!

    So what... If you don't have any specials, you don't need to advertise this. In fact, it is probably BAD MARKETING to have this appear.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  3. #3
    Join Date
    Feb 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Specials Title

    The Reviews page includes a title with a text underneath saying "There are currently no product reviews.", I need the same with Specials page. At least this way viewers would know that the page has completely uploaded.

  4. #4
    Join Date
    Sep 2006
    Posts
    30
    Plugin Contributions
    1

    Default Re: Specials Title

    I had a need for this as well because the site map includes a Specials link by default.

    I added a db check in the tpl_site_map_default.php file to see if there are specials, if so the link appears. If not, the link doesn't appear.

    Find:
    Code:
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . PAGE_SPECIALS . '</a>'; ?></li>
    and replace with:
    Code:
    <?php
    $specials_index_query = "select distinct p.products_id, p.products_image, pd.products_name, p.master_categories_id
    
                                 from (" . TABLE_PRODUCTS . " p
    
                                 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id
    
                                 left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id )
    
                                 where p.products_id = s.products_id
    
                                 and p.products_id = pd.products_id
    
                                 and p.products_status = '1' and s.status = '1'
    
                                 and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
    
                                 and p.products_id in (" . $list_of_products . ")";
    
    if ($specials_index_query > 0) { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . PAGE_SPECIALS . '</a>'; ?></li>
    <?php } ?>
    I'm not sure that it is proper to have the db query in this file, but it works.

  5. #5
    Join Date
    Aug 2006
    Posts
    133
    Plugin Contributions
    0

    Default Re: Specials Title

    Quote Originally Posted by schoolboy View Post
    So what... If you don't have any specials, you don't need to advertise this. In fact, it is probably BAD MARKETING to have this appear.
    If a new customer stops by a website, sees no sales whatsoever, and there is no hint that the site ever has sales, then such a sign may be desired by some stores.

    There are many higher end brick and mortar stores, and by extension their websites, who have very few sales throughout the year. Letting customers know when those sales take place is beneficial for the "few to no sales" marketing strategy.

    Right now I have one such customer who needs a message suggesting customers bookmark the page and return at the appropriate time. Well, that is if I get it to work. Later, I'll add an RSS feed link to the message in the hopes that at least a few new customers return someday.

  6. #6
    Join Date
    Aug 2006
    Posts
    133
    Plugin Contributions
    0

    Default Re: Specials Title

    Also, if Google picks up a link for a site's specials page, and nothing is there when someone clicks the link, not so good, IMO.

    I'm trying to get jettrue's messaging solution to work but have not yet. See this post for more info and links.

 

 

Similar Threads

  1. Include specials end date to under specials price?
    By this side up in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 13 Jun 2007, 04:47 PM
  2. Replies: 1
    Last Post: 7 Apr 2007, 08:05 PM
  3. Changing/adding to SPECIALS Title?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Sep 2006, 05:14 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
  •