Zen Cart custom software development, Zen Cart modules, Zen Cart Expert eCommerce with Zen Cart!

Zen Cart Seasonal Centerbox

Zen Cart Seasonal Centerbox
The Seasonal Centerbox is a centerbox - just like the New Products, Featured Products and Monthly Specials Centerboxes. It shows off randomly selected items from a specific category. It appears on your main page and may (optionally) also be put on the index page for categories and product lists, the product info page and the shopping cart page.

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Relevance: Zen Cart™ 1.3.9 and 1.5.x

Current Version: 1.1 (version history)

Support Thread: Seasonal Centerbox Support Thread

Cost: The Seasonal Centerbox is Free, but donation appreciated.

Installed Cost: $60 Buy Professional Installation by That Software Guy

Installation Instructions: click here

Installation Difficulty: Easy-Moderate

Location: Zen Cart Plugins, under Marketing Tools

Download: Seasonal Centerbox from Zen Cart Plugins

FAQ: click here


The Seasonal Centerbox displays randomly selected items from a specific category on your main page.

Installation Instructions:

  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. Run the install.sql file against your database, using Admin > Tools > Install SQL Patches.
  3. Rename the folder "custom" to the name of your template.
  4. Copy the files to your cart.
  5. Modify includes/templates/YOUR_TEMPLATE/templates/tpl_index_default.php as follows:
    Right above
    while (!$show_display_category->EOF) {
    
    add this block of code:
    <?php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>
    
  6. Update the configuration variables in Admin > Configuration > Seasonal Centerbox. The follow settings are available:
    • SEASONAL_CENTERBOX_CATEGORY - What category should be shown in the Seasonal Centerbox
    • IMAGE_SEASONAL_CENTERBOX_LISTING_WIDTH - Width of images in the centerbox
    • IMAGE_SEASONAL_CENTERBOX_LISTING_HEIGHT- Height of images in the centerbox
    • SHOW_PRODUCT_INFO_COLUMNS_SEASONAL_CENTERBOX - columns per row
    • TITLE_SEASONAL_CENTERBOX - title to use
  7. You may also add the Seasonal Centerbox to the following other pages:
    tpl_index_categories.php
    tpl_index_product_list.php
    tpl_product_info_noproduct.php
    tpl_shopping_cart_default.php
    
    Just copy these files from includes/templates/template_default/templates to includes/templates/YOUR_TEMPLATE/templates (if they don't already exist). Then for each one, look for the line that starts with "while" (as shown in step 5 above) and put the following line right above it:
    <php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>
    
    (Truly, this line can be placed anywhere after the start of the opening div in the template; this placement is just a suggestion.)


Major Versions for Seasonal Centerbox

  • 1.1 02/01/2021 - Adding admin controls
  • 1.0 11/02/2020 - First Release


FAQ

Q: Why not just use the built-in Featured Centerbox?
A: The Featured Centerbox requires you to set specific products to Featured. The Seasonal Centerbox randomly selects products from a specific category.