Show Latest Testimonals at Zen-Cart Homepage

Sometimes we like to show several latest customers testimonals at zen-cart based shopping cart homepage. How to do then? Here are my method, let me share the code with you.

Go go to includes/modules, and open left_column.php, add the following code: <code><? $sql = “select  * from pres_testimonials where status = 1 order by id DESC limit 3″; $result=mysql_query($sql); while($row=mysql_fetch_array($result)) { echo “<strong>”.$row[name].”</strong>”; echo $row[detail]; Continue reading “Show Latest Testimonals at Zen-Cart Homepage”

Problem with cURL and PHP Output Buffering while installing zen cart

When we install zen cart under XAMPP, we often meet two issues:

ATTENTION: Problems Found CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info… Continue reading “Problem with cURL and PHP Output Buffering while installing zen cart”

How to remove “New Products …, All Products” in Zen Cart main page?

Open tpl_categories.php under include/templates/template_default/siteboxes/

 1. Remove New Products…,

At line 80,

if ($show_this->RecordCount() > 0) {
        $content .= ‘<a class=”category-links” href=”‘ . zen_href_link(FILENAME_PRODUCTS_NEW) . ‘”>’ . CATEGORIES_BOX_HEADING_WHATS_NEW . ‘</a>’ . ‘<br />’ . “\n”;

Change the code to: Continue reading “How to remove “New Products …, All Products” in Zen Cart main page?”