What are Zen Cart centerboxes?

Centerboxes are pieces of content that are displayed in the middle of the screen in the Zen Cart storefront.

You can learn about controlling centerboxes in the admin so that you only display the centerboxes that are most important to your store.

This is the Featured Products centerbox.

Featured Products Centerbox

There are four centerboxes that are built in to Zen Cart:

  • New Products
  • Featured Products
  • Special Products
  • Upcoming Products

Centerboxes and Mobile

Centerboxes will appear on a mobile device in the expected place.

Centerbox on tablet

This behavior is different from that of sideboxes, which are commonly hidden on mobile.

Centerbox Controls

The number of products shown in a centerbox is controlled using an Admin setting on the page Admin > Configuration > Maximum Values. Note that names of these settings changed in Zen Cart 1.5.8.

Centerbox Name Pre-1.5.8 1.5.8 and above
Specials Maximum Display of Specials Products - Main Page Products on Special Centerbox
New Products New Products Module New Products Centerbox
Featured Products Maximum Display of Featured Products - Main Page Featured Products Centerbox
Upcoming Products Upcoming Products Upcoming Products Centerbox

Creating your own centerbox

In addition to the four built-in centerboxes described above, other centerboxes are available in the Zen Cart plugins library. Try searching for both “centerbox” and “centerboxes” in the Advanced Search with “Search Titles Only” set.

Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified June 15, 2021 by Scott C Wilson (021561d).