Forums / Templates, Stylesheets, Page Layout / Show all products in sidebar?

Show all products in sidebar?

Locked

Views: 1,934

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Feb 2008, 10:16 PM
#1
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

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

29 Feb 2008, 9:12 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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

29 Feb 2008, 9:16 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

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

29 Feb 2008, 5:46 PM
#4
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

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

11 May 2008, 12:42 AM
#5
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Show all products in sidebar?

or you could just use this.