Forums / Templates, Stylesheets, Page Layout / Getting rid of side boxes when shopping

Getting rid of side boxes when shopping

Locked

Views: 1,069

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Jan 2007, 11:11 PM
#1
shackle avatar

shackle

Zen Follower

Join Date:
Apr 2006
Posts:
228
Plugin Contributions:
0

Getting rid of side boxes when shopping

Is is possible to get rid of the right sidebox once someone enters a category or product, and starts shopping? I know this can be done with ez-pages I'm sure it might be possible this way also? I'd like the right sidebox to not be displayed when viewing categories, products, and products more information. I'd like the main page to display both right and left though.

Can this be done?

25 Jan 2007, 10:31 PM
#2
shackle avatar

shackle

Zen Follower

Join Date:
Apr 2006
Posts:
228
Plugin Contributions:
0

Re: Getting rid of side boxes when shopping

....Or if this can't be done can you turn off right sideboxes for the entire site, but the homepage or a few other chosen pages?

So the both sideboxes will show https://www.myzen-cart.com/index.php, but other pages will not display all other pages.

I hope I'm making this as clear as possible.

26 Jan 2007, 12:18 AM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Getting rid of side boxes when shopping

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

28 Jan 2007, 3:12 AM
#4
shackle avatar

shackle

Zen Follower

Join Date:
Apr 2006
Posts:
228
Plugin Contributions:
0

Re: Getting rid of side boxes when shopping

Thanks for that however....

I have TONS of porducts / categories so that would take days to fix it like that.

Is there anyway to disable the entire right side for the entire site, but turn it on for a few select pages?

Cause doing it like that just won't work I'd have to put in thousands of category / product page ID's.

What needs to happen: get rid of right side boxes for everything, but the index page, and maybe 2-3 other pages.

Let me know if this is possible.

thanks!

Ryk:

This FAQ should help.

28 Jan 2007, 8:52 AM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Getting rid of side boxes when shopping

Every page can easily be identified - examine the urls of your category and product pages and you will see c_Path=xx and products_id=xx.

You can therefore use those in conditional statements (e.g IF products_id=25 DO show the right column). I'm not confident enough in my programming ability to give you an example (it's the sort of thing I would experiment with until I got it figured out), but you can find examples elsewhere in the forum and within the ZC code itself.

Try this thread for some suggestions.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !