Zen Cart Show Category Description on the Product Info Page

By default, the zen cart product page contains a lot of information. One piece of information that it does not contain is the category description text. This Easy Help Zen Cart Tutorial will show you how to add some php code to show your category descriptions on the product info pages.

In your favorite plain text editor, open the includes/templates/override/templates/tpl_product_info_display.php file. If there is not already an override of this file, you can create one by copying the includes/templates/template_default/templates/tpl_product_info_display.php to the includes/templates/override/templates/tpl_product_info_display.php.

Find the point in the file where you would like the category descriptions to show, and add this:

<?php echo zen_get_category_description(zen_get_products_category_id((int)$_GET['products_id']), (int)$_SESSION['languages_id']) ?>

This zen cart tutorial is brought to you by the Dover Fine Responsive Zen Cart Template.

dover fine respnsive zen cart  template

This template features a super minimal and modern layout with a responsive full screen slide show on the home page. This means that the slide show will fit the entire screen of whatever device is being used to view your site. The template is optimized for desktops, laptops, portrait and landscape tablets, and portrait and landscape phones. Use the full screen slide show to show case your products. The template features a super flexible full page layout. The template colors are already neutral, but if you want to change the colors to match your current branding, it can be easily done by using css. If you want to make css changes to the template we strongly recommend using chrome or firefox and installing the web developer tools.

If you need help with your zen cart web siteplease contact us for a quote.

portrait and landscape
Picaflor Azul specializes in responsive zen cart design. Contact us to convert your current zen cart to a responsive design, or to have a fantastic new custom design made just for your business.

zen cart plus picaflor azul equals success

Leave a Reply