Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add to Cart not go to cart view

    There is a setting in the Configuration ... My Store ...
    Display Cart After Adding Product
    Display the shopping cart after adding a product (or return back to their origin)

    true
    false
    If true, you go to the shopping cart after adding to the shopping cart ...

    If false, you stay where you are after adding to the shopping cart ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Add to Cart not go to cart view

    Got it thanks.

    I'll post when I figure out how to add an Add to Cart button in to the boxes

  3. #13
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Add to Cart not go to cart view

    I know I will need to add the "Add to Cart" button code within
    tpl_tabular_display.php
    to display it but I am lost in where I should copy that piece of code in.
    PHP Code:
    <?php
    /**
     * Common Template - tpl_tabular_display.php
     *
     * This file is used for generating tabular output where needed, based on the supplied array of table-cell contents.
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_tabular_display.php 3544 2006-04-29 17:17:45Z drbyte $
     */

    //print_r($list_box_contents);
      
    $cell_scope = (!isset($cell_scope) || empty($cell_scope)) ? 'col' $cell_scope;
      
    $cell_title = (!isset($cell_title) || empty($cell_title)) ? 'list' $cell_title;

    ?>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="<?php echo 'cat' $cPath 'Table'?>" class="tabTable">
    <?php
      
    for($row=0$row<sizeof($list_box_contents); $row++) {
        
    $r_params "";
        
    $c_params "";
        if (isset(
    $list_box_contents[$row]['params'])) $r_params .= ' ' $list_box_contents[$row]['params'];
    ?>
      <tr <?php echo $r_params?>>
    <?php
        
    for($col=0;$col<sizeof($list_box_contents[$row]);$col++) {
          
    $c_params "";
          
    $cell_type = ($row==0) ? 'th' 'td';
          if (isset(
    $list_box_contents[$row][$col]['params'])) $c_params .= ' ' $list_box_contents[$row][$col]['params'];
          if (isset(
    $list_box_contents[$row][$col]['align'])) $c_params .= ' ' $list_box_contents[$row][$col]['align'];
          if (
    $cell_type=='th'$c_params .= ' scope="' $cell_scope '" id="' $cell_title 'Cell' $row '-' $col.'"';
          if (isset(
    $list_box_contents[$row][$col]['text'])) {
    ?>
       <?php echo '<' $cell_type $c_params '>'?><?php echo $list_box_contents[$row][$col]['text'?><?php echo '</' $cell_type '>'  "\n"?>
    <?php
          
    }
        }
    ?>
      </tr>
    <?php
      
    }
    ?> 
    </table>
    Anyone tried this before?

  4. #14
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Add to Cart not go to cart view

    ignore the last post. Its the wrong place. I think I will shelf this idea. Thanks All

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Add a View Cart link to my shopping cart header, in 12leaves template?
    By Serg in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 22 Aug 2012, 02:49 AM
  2. Shopping Cart Page Not Found / Cant view cart or checkout
    By pquery in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 30 Oct 2009, 06:46 AM
  3. add to cart and view cart buttons
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Apr 2008, 09:27 PM
  4. Cant add products to cart or view cart!!!!!
    By guscott in forum Basic Configuration
    Replies: 9
    Last Post: 27 May 2006, 05:11 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