If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Display the "more" link for specials product on main page?

Display the "more" link for specials product on main page?

Started by cindy2010 on 4 Feb 2011, 12:02 AM · Views: 863

Results 1 to 2 of 2
4 Feb 2011, 12:02 AM
#1
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

Post #1 by cindy2010

Does anyone know how to enable it?

For example, if I have 10 special products, and I set:
Maximum Display of Specials Products - Main Page
to 3.
In the side box specials, it will have a link "more" linking to the dedicated specials page. But on the main page, it only shows 3 special products, without any link to the dedicated specials page.

Any idea of it?

Thanks a lot.

4 Feb 2011, 12:10 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

You could customize the Specials centerbox with your templates and overrides by changing the code to read:

    $title = '<h2 class="centerBoxHeading">' . '<a class="category-links" href="' . zen_href_link(FILENAME_SPECIALS) . '">' . sprintf(TABLE_HEADING_SPECIALS_INDEX, strftime('%B')) . '</a>' . '</h2>';

NOTE: I just grabbed the link from the Categories sidebox so you will want to change the class it uses ...

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!]
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!