Results 1 to 3 of 3
  1. #1

    Default Featured and New Listings on Shopping Cart page

    Hi

    Does anyone know how to get the featured and new listing center boxes onto the cart page below the cart when there are products in the cart?

    Cal
    That Thou Art

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Featured and New Listings on Shopping Cart page

    Create your own tpl_shopping_cart_default.php template and insert the following lines
    PHP Code:
    <?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php 
    require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
    in here (after line 170 for Zen Cart 1.3.7)
    PHP Code:
    <?php
            
    break;
          }
    ?>
    <-------- insert the lines here
    <?php
      
    } else {
    ?>
    This will add them to carts that have products in, and you can continue to use the normal Admin functions to include them for carts that don't.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Featured and New Listings on Shopping Cart page

    Thanks kuroi, that worked a treat :).

    If you want to add the featured and what's new centre boxes to below the shopping cart with products in it (Version 1.37) follow kurois instructions above.
    That Thou Art

 

 

Similar Threads

  1. shopping cart - disable featured and new product lists
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Jul 2011, 04:29 AM
  2. New/Featured/Specials on Empty Shopping Cart Page
    By lucky-nz in forum Basic Configuration
    Replies: 2
    Last Post: 17 Feb 2010, 08:29 PM
  3. Shopping Cart Page in Google Listings
    By dharma in forum General Questions
    Replies: 0
    Last Post: 17 Nov 2008, 05:33 PM
  4. Display Featured Products under Shopping cart page
    By icaros in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Oct 2007, 03:50 AM
  5. Remove 'New Prods' and 'Featured Prods' from 'Your shopping cart is empty'
    By warstormer in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Sep 2007, 02:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR