Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    4
    Plugin Contributions
    0

    Idea or Suggestion How do I display the shopping cart on the index page?

    I am using 1.3.9h, and a fresh install.

    basically I am a newbie and have no idea of where and what to edit to get the correct look for zc, Now I managed to display the :My Cart" on normal pages in the center column, but it doesn't show up in the index page, any ideas on which files I should edit to show it in the central column as a new section for the index page?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do I display the shopping cart on the index page.

    Since that isn't default behavior, we'll need a link to the site to see what you've done so far.

  3. #3
    Join Date
    Apr 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: How do I display the shopping cart on the index page.

    I am doing this on localhost, so I can't provide a link however I can tell you what I have done(as I really haven't done much).

    1) Under Configuration -> Layout Settings, I have set Shopping Cart Box Status to 0, so that it is always shown.
    2) Under tools -> Layout Boxes Controller, I have set Shopping Cart Left/right column status to OFF and single column status to ON so that it is shown centrally on the page.
    3) Lastly I created a blank theme, and used override on includes\templates\custom\common\tpl_main_page.php to hide all left and right sideboxes on the index page using the following code:-
    Code:
    if (in_array($current_page_base,explode(",",'index')) ) {
        $flag_disable_right = true;
    	$flag_disable_left = true;
      }

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do I display the shopping cart on the index page.

    2) Under tools -> Layout Boxes Controller, I have set Shopping Cart Left/right column status to OFF and single column status to ON so that it is shown centrally on the page.

    So far as I know, the Single Column setting affects nothing, except in the case of the search header, so I don't understand how you got the cart to appear in the center section on any page. How about a screenshot ?

 

 

Similar Threads

  1. v151 Website Cannot Display the Page - Shopping Cart Login/Registeration
    By Brooke GA in forum General Questions
    Replies: 2
    Last Post: 19 May 2016, 07:21 PM
  2. How can I display the number of items in shopping cart in header
    By sharontan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Dec 2010, 02:03 PM
  3. Replies: 2
    Last Post: 19 Sep 2009, 07:31 PM
  4. How to control the display of the shopping cart sidebox
    By ajhb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Aug 2008, 05:45 AM
  5. Replies: 0
    Last Post: 16 Jan 2007, 09:32 AM

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