jQuery Scrolling Sideboxes — for Zen Cart v1.5.5 and later
Version 2.1.3, by lat9
Current Support Thread at Zen Cart Forums: https://www.zen-cart.com/showthread.php?214591
What it does
This plugin provides four (4) additional sideboxes to your store's configuration:
- sideboxes/best_sellers_scrolling.php
- sideboxes/featured_scrolling.php
- sideboxes/specials_scrolling.php
- sideboxes/whats_new_scrolling.php
In each case, the sidebox is heavily modelled after the built-in Zen Cart sidebox of a similar name with one difference: each sidebox uses some jQuery to show one product at a time in the sidebox, cutting down on the screen "real-estate" required.
Note: Starting with v2.0.0 of the plugin, your active template must load a version of jQuery for the plugin to properly operate!
Installation
This plugin currently has no core-file overwrites; you should always backup your cart's database and files prior to making any changes.
- Unzip the plugin's package file, which you've most likely already done if you're reading this!
- Copy the contents of the /includes/templates/YOUR_TEMPLATE/jscript directory to the like-named subdirectory for your store's active template:
- /includes/templates/YOUR_TEMPLATE/jscript/jscript_sidebox_slider.js
- Copy the plugin's new, default files to your store's file system.
- /includes/languages/english/extra_definitions/scrolling_sideboxes.php
- /includes/modules/sideboxes/best_sellers_scrolling.php
- /includes/modules/sideboxes/featured_scrolling.php
- /includes/modules/sideboxes/specials_scrolling.php
- /includes/modules/sideboxes/whats_new_scrolling.php
- /includes/templates/template_default/jscript/jscript_sidebox_slider.js
- /includes/templates/template_default/sideboxes/tpl_best_sellers_scrolling.php
- /includes/templates/template_default/sideboxes/tpl_featured_scrolling.php
- /includes/templates/template_default/sideboxes/tpl_specials_scrolling.php
- /includes/templates/template_default/sideboxes/tpl_whats_new_scrolling.php
- Log into your Zen Cart admin and use the Tools->Layout Boxes Controller to enable and position the sideboxes for your store's use.
Version History
- v2.1.3, 2021-01-13 (lat9)
- BUGFIX: Correct variable usage in best_sellers_scrolling sidebox.
- The following files were changed:
- /includes/templates/template_default/sideboxes/tpl_best_sellers_scrolling.php
- v2.1.2, 2019-06-01 (lat9/dbltoe)
- BUGFIX: Correct (another) PHP parse error, introduced in v2.1.0.
- The following files were changed:
- /includes/templates/template_default/sideboxes/tpl_specials_scrolling.php
- v2.1.1, 2019-04-27 (lat9)
- BUGFIX: Correct PHP parse error, introduced in v2.1.0.
- The following files were changed:
- /includes/modules/sideboxes/specials_scrolling.php
- v2.1.0, 2019-04-26 (lat9)
- CHANGE: Refactoring for PSR2 and more strict PHP/MySQL versions.
- All of the files were updated!
- v2.0.0, 2017-07-23 (lat9)
- BUGFIX: Distribute jQuery handler for YOUR_TEMPLATE use.
- CHANGE: Remove the jQuery loader from this plugin; the store's active template is assumed to include a jQuery load as part of its processing.
- CHANGE: Drop support for Zen Cart versions prior to 1.5.5.
- The following files were added or removed:
- /includes/templates/YOUR_TEMPLATE/jscript/jscript_sidebox_slider.js
- /includes/templates/template_default/jscript_jquery_cdn.js
- v1.1.0, 2014-09-23 (lat9): Added best_sellers_scrolling
- /includes/languages/english/extra_definitions/scrolling_sideboxes.php
- /includes/modules/sideboxes/best_sellers_scrolling.php
- /includes/templates/template_default/sideboxes/tpl_best_sellers_scrolling.php
- v1.0.0, 2014-09-13 (lat9): Initial release.