Zen Cart Logo

a new challenge

Locked

Views: 2,724

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
31 Aug 2007, 5:45 AM
#1
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

a new challenge

I love the layout of this site: http://www1.macys.com
I would like to implement some of their features on my site. For example, when you click on a category (Men, women,Juniors, etc,) you are presented with a side menu for that particular category. Is there a way this can be done in zen cart? If so, where do I start?

31 Aug 2007, 3:16 PM
#2
brandtim avatar

brandtim

Zen Follower

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

Re: a new challenge

I'd make a new sidebox based on the existing categories sidebox ... then strip the top-level categories out of it. Should be easy enough.

BrandTim

31 Aug 2007, 3:40 PM
#3
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: a new challenge

brandtim:

I'd make a new sidebox based on the existing categories sidebox ... then strip the top-level categories out of it. Should be easy enough.

BrandTim

umm, how do I do that! Still kind of new!

1 Sep 2007, 10:23 PM
#4
brandtim avatar

brandtim

Zen Follower

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

Re: a new challenge

You can use a Blank Sidebox, then open up the Categories Sidebox, copy over the code, then modify the SQL query that generates the listing and if cPath is set, restrict the query to just the current cPath ...

Does this make sense?

BrandTim

2 Sep 2007, 12:44 AM
#5
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: a new challenge

Cant belive macys.com are using zen cart
And whts .ognc? or is it just a change in extension?

2 Sep 2007, 12:55 AM
#6
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: a new challenge

macy's isnt using zencart... how did you come to the conclusion they were out of curiosity?

2 Sep 2007, 12:57 AM
#7
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: a new challenge

I didnt conclude that
Since it was posted here, I was just wondering if they did
and whats with ognc? a new server or programming language?

2 Sep 2007, 4:55 AM
#8
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: a new challenge

brandtim:

You can use a Blank Sidebox, then open up the Categories Sidebox, copy over the code, then modify the SQL query that generates the listing and if cPath is set, restrict the query to just the current cPath ...

Does this make sense?

BrandTim

What do I copy over the side box code with? Have you tried it ? thanks!

3 Sep 2007, 7:33 AM
#9
brakestorm avatar

brakestorm

New Zenner

Join Date:
Aug 2007
Posts:
39
Plugin Contributions:
0

Re: a new challenge

Just set a condition that if the page loaded is the index, the sidebox categories isn't loaded.. Then any other page you go to you see the categories sidebox

3 Sep 2007, 2:43 PM
#10
brandtim avatar

brandtim

Zen Follower

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

Re: a new challenge

james739:

What do I copy over the side box code with? Have you tried it ? thanks!

Yes - I've done this several times. Download the Blank Sidebox mod and look through all of the files, especially the readme. Then look at the equivalent files in the categories sidebox. Note the differences in code. Then copy the different code from the categories sidebox to the blank one. Modify as needed.

BrakeStorm:

Just set a condition that if the page loaded is the index, the sidebox categories isn't loaded.. Then any other page you go to you see the categories sidebox

That wouldn't solve the problem of the top-level categories being shown in the sidebox...

BrandTim

3 Sep 2007, 11:02 PM
#11
brakestorm avatar

brakestorm

New Zenner

Join Date:
Aug 2007
Posts:
39
Plugin Contributions:
0

Re: a new challenge

brandtim:

That wouldn't solve the problem of the top-level categories being shown in the sidebox...

BrandTim

True.. You'd need to modify the SQL statement to ignore the top level categories..