To get the currently set theme’s path in Zen Cart use the following code – echo DIR_WS_TEMPLATE; This will return value – includes/templates/{your_theme_path}/
Tag: Zen Cart
Zen Cart Slide Out Vertical Category Sub Category Menu Sidebox Plugin Download
Download Please download the plugin from here, hosted in the official Zen-Cart site. Plugin Description This Zen-Cart plugin creates a new side-box which shows all the active categories as well as the sub categories. At any time all the active sub categories are also loaded recursively and not only when a parent category is visited… Continue reading Zen Cart Slide Out Vertical Category Sub Category Menu Sidebox Plugin Download
Zen Cart Blank Page Error Before Or After Installation
The problem – 1. After uploading the files and pointing the browser to the Zen Cart folder blank page is shown. 2. After installation is complete by going to the zc_install folder manually, the store front end is blank 3. Following error is shown – Warning: include(includes/configure.php) [function.include]: failed to open stream: No such file… Continue reading Zen Cart Blank Page Error Before Or After Installation
Zen Cart header_php File Not Updating
I faced a problem last day while updating the header_php.php file for one of the pages I created in Zen Cart. Even after making changes in the header_php file, the changes were not reflected when I viewed the page in browser. The header_php.php file is present in \includes\modules\pages\{page_name}\where {page_name} should be replaced by the name… Continue reading Zen Cart header_php File Not Updating
Zen Cart Multi Level Category Slide Out Menu
This hack is now available as a downloadable plugin from the Zen Cart site. Please visit this link to download it. The plugin uses separate files of its own and doesn’t need any of the existing files to be updated. The Zen Cart Category Menu shows only the sub categories of the currently selected category.… Continue reading Zen Cart Multi Level Category Slide Out Menu
Zen Cart "Invalid Country Code" problem with shipping and payment module
While using Zen Cart a common problem is the countries table. A lot of Shipping and Payment module throws errors and the reason is the invalid country code. The Zen Cart countries table at id 74 stores country “France, Metropolitan” with countries_iso_code_2 => FX and countries_iso_code_3 => FXX The problem is the ISO does not… Continue reading Zen Cart "Invalid Country Code" problem with shipping and payment module
Zen Cart debugmode – how to show errors on screen
To show the PHP errors on screen for debugging Zen-Cart follow these steps – 1. In folder /includes/local/ , create file configure.php 2. On it write – define(‘STRICT_ERROR_REPORTING’, true); That would show you the PHP errors on screen. To turn it off simple replace the true with false.
Creating a new page in Zen Cart
To create a new page in Zen Cart follow the below steps. We will be creating a new page called new_page and it will be accessible via browser using the following link http://www.your-zen-cart.com/index.php?main_page=new_page 1. Go to includes\modules\pages\ Create a folder new_page (the folder name should be same as the name of the page) Inside it… Continue reading Creating a new page in Zen Cart