Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    85
    Plugin Contributions
    0

    Default Show all products in sidebar?

    Hi!

    I've scoured the forums but can't find info on this... I'm setting up a cart with only a few products and would like them ALL to be listed on the sidebar. Right now I have the Categories box but I'd rather just list the products there, as there is only one category anyway by necessity. I'd rather people didn't have to drill down into "Products" to see the list.

    What's the best way to do this, short of hard-coding it in? (I'm pretty sure how, but not sure where, I would actually do that!)

    Many thanks!
    adam

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Show all products in sidebar?

    Your could try the following:-

    Set up ONE category on your zenshop and put all your products into that category.

    Install a "blank sidebox" (see DOWNLOADS).

    Follow the README in the Blank Sidebox module folder to guide you in how to set it up, etc.

    In the code, you will see the places where you add CONTENT to the sidebox.

    Call up each product in your browser to see the PATH to it, then...

    Hard-code the paths to each product, eg:

    <a href="index.php?main_page=product_info&cPath=24_31&products_id=301">toffee</a><br />
    <a href="index.php?main_page=product_info&cPath=24_31&products_id=302">chocolate</a><br />
    <a href="index.php?main_page=product_info&cPath=24_31&products_id=303">sherbet</a><br />
    <a href="index.php?main_page=product_info&cPath=24_31&products_id=304">ice cream</a><br />
    (etc)
    Make the sidebox visible (ADMIN>>>TOOLS>>>LAYOUT BOXES).

    Make the CATEGORIES sidebox invisible (switch it off - also in ADMIN>>>TOOLS>>>LAYOUT BOXES)
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Show all products in sidebar?

    ... bear in mind that if you ADD or REMOVE products later, then the content of your sidebox needs to be edited manually.
    20 years a Zencart User

  4. #4
    Join Date
    Jun 2006
    Posts
    85
    Plugin Contributions
    0

    Default Re: Show all products in sidebar?

    Sounds good! As with many ZC issues, I hadn't thought that it might require an external plug-in type of solution. This should work perfectly!

    Thanks!
    adam

  5. #5
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Show all products in sidebar?

    or you could just use this.

 

 

Similar Threads

  1. v151 Hide Disabled Products from "All Products sidebar search"
    By mshultise in forum General Questions
    Replies: 4
    Last Post: 24 May 2014, 11:32 PM
  2. v139h Created a new category but no products show up. Sidebar disappears
    By amyleew in forum General Questions
    Replies: 1
    Last Post: 22 Mar 2013, 11:35 AM
  3. Replies: 4
    Last Post: 24 Oct 2008, 10:17 AM
  4. Products All page - show Category name with products underneath
    By bradymc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Feb 2008, 10:30 PM
  5. Replies: 5
    Last Post: 10 Sep 2006, 04:35 PM

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