Credits
- Version: v1.2.0 (Released November, 2018)
- Original Author: Zen4All (https://zen4all.nl)
- Designed for: Zen Cart ≥ v1.5.5 Release
- Tabs based on: Bootstrap 3.3.7
- License: under the GPL
- Support: Given via the Zen-Cart Forums
What does this module do?
The current collect info page can be quite long, specially when having multiple languages, and extra fields. This is not very user friendly. Therefore I started searching for a better solution.
After looking at many other shopping cart frameworks, I have a pretty good idea of how I want the new collect info page to look. It will be a page with tabs for different categories of information. The default tabs are:
- General
- Data
- Manufacturer
- Image
This is the information that is currently available by default on the product collect info pages, with one exception, I added the meta tags to the collect page.
Extra Tabs
There are some extra tabs available at this time of writing:
- Discounts
- This tab can be used to add quantity discounts to a product. Although it is a standard function in Zen Cart it is well hidden
- Information
- Very basic, needs updating with more useful info
- Product Attributes
- This tab adds the full functionality off the Attributes controller page to your product edit page.
- Category
- Adds the ability to link products to multiple categories, and to set the master category.
Future development
In future releases I plan on adding extra info, by using more drop in modules. This way others can contribute by writing their own tabs, that will be included by dropping the files in a specific folder (for example: admin/includes/modules/extra_tabs). Extra tabs that are planned are:
- Specials / featured (maybe one tab, combined in the Discounts tab, or multiple)
- Product history
- Product reports (Views, purchases, etc.)
- Also I a want to add ajax to add things like (additional) images dynamically, or a dynamic preview eliminating the need for the preview_info.php, and update_product.php files.
Some screen shots:
Minimum Requirements
- Zen Cart 1.5.5e or higher
- PHP 5.5 or Higher
Although this module is designed to work with Zen Cart 1.5.5e or higher, it may also work on lower version. This has not bee n tested, and I am not planning on giving any active (free) support for that.
A minimum of php 5.4 is needed, because earlier php versions are lacking some needed functions.
Installation
All files are arranged in the correct Zen Cart v1.5.x structure.
- Rename the "YOUR_ADMIN" folder to the admin folder name you are using
- Make sure you have made a back up of all your existing files, and database.
- Upload the files to your store. In the file list below you can see which files are new and which files need merging. If you are sure the original files you have in your store are un altered, you can overwrite the files marked in orange. Else you need to merge in the differences, using a tool like Beyond Compare, or WinMerge. The changes are marked clearly in the files, like this:
/* BOF Zen4All - CITTINS - 1 of 1 */
CHANGED CODE
/* EOF Zen4All - CITTINS - 1 of 1 */
- Login to your store's admin
Files to upload
- YOUR_ADMIN\includes\css\collect_info.css
- YOUR_ADMIN\includes\functions\extra_functions\functionsCollectProductInfoExtra.php
- YOUR_ADMIN\includes\languages\english\extra_definitions\tabs.php
- YOUR_ADMIN\includes\languages\english\product.php
- YOUR_ADMIN\includes\languages\english.php
- YOUR_ADMIN\includes\modules\extra_tabs (empty folder)
- YOUR_ADMIN\includes\modules\product\collect_info.php
- YOUR_ADMIN\includes\modules\product\preview_info.php
- YOUR_ADMIN\includes\modules\update_product.php
- YOUR_ADMIN\includes\ckeditor.php
- YOUR_ADMIN\includes\header.php
- YOUR_ADMIN\includes\stylesheet.css
- YOUR_ADMIN\product.php
Un-install CITINS
To un-install this module undo all the file-changes you made above.
How to Use
This replaces the default collect info page, but the functionality is the same. Add/edit your info on the different tabs. Press save and you will continue to the product preview page as usually.
History
November 2017 - v1.0.1 (Bug Fix) - Zen4All
- Fixed data sanitizing
- Changed some html for better viewing
- Changed files:
- Extra_tabs\attributes\YOUR_ADMIN\attributeApi.php
- Extra_tabs\attributes\YOUR_ADMIN\includes\languages\english\attributes_controller.php
- Extra_tabs\attributes\YOUR_ADMIN\includes\modules\extra_tabs\attributas\jscript_attribute.php
- Extra_tabs\attributes\YOUR_ADMIN\includes\modules\extra_tabs\attributes\tab_contents_collect_nfo.php
- Extra_tabs\category\YOUR_ADMIN\includes\modules\extra_tabs\category\tab_title_collect_info.php
- Installation_files\YOUR_ADMIN\includes\functions\extra_functions\functionsCollectProductInfoExtra.php
- Installation_files\YOUR_ADMIN\includes\modules\product\collect_info.php
October 2017 - v1.0 (Release) - Zen4All
- Initial release for Zen 1.5.5