Zen Cart Logo
Forums / General Questions / Adding additional unique paragraphs to each category page?

Adding additional unique paragraphs to each category page?

Locked

Views: 1,545

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
7 Feb 2009, 2:00 AM
#1
ribbonsbaskets0 avatar

ribbonsbaskets0

New Zenner

Join Date:
Nov 2008
Location:
Seattle, WA
Posts:
52
Plugin Contributions:
0

Adding additional unique paragraphs to each category page?

Im trying to add unique paragraphs explaining each category page at the bottom for SEO purposes. site is https://www.ribbonsbaskets.com I have a small sentence to a paragraph at the top of each page but would like to add much more to the bottom. Im trying to increase my keyword density on each page while providing some enticing descriptions. Cant figure out how to do it easily, right now my gourmet description is on every page. I just put the descriptions on the bottom of the tpl_modules_product_listing.php file.

7 Feb 2009, 2:20 AM
#2
ribbonsbaskets0 avatar

ribbonsbaskets0

New Zenner

Join Date:
Nov 2008
Location:
Seattle, WA
Posts:
52
Plugin Contributions:
0

Re: Adding additional unique paragraphs to each category page?

Any help would be appreciated, ive looked all over the place for an answer.

7 Feb 2009, 2:46 AM
#3
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Adding additional unique paragraphs to each category page?

You can put something like this in your tpl_footer.php

It show different message at different time of day. Someone I feel knows his stuff (works at google) say this is at least a little more effective than having a random text on each page load.

You will have to add your own css entry for #toetxt

<div id="toetxt">
<?php $now=date("g"); ?>

<?php if (($now==1) || ($now==4) || ($now==7) || ($now==10)){ ?>
Add your some nice words and text here...
<?php	} ?>

<?php if (($now==2) || ($now==5) || ($now==8) || ($now==11)){ ?>
Add your some nice words and text here...
<?php	} ?>

<?php if (($now==3) || ($now==6) || ($now==9) || ($now==12)){ ?>
Add your some nice words and text here...
<?php	} ?></div>
<br /><br />
7 Feb 2009, 3:09 AM
#4
ribbonsbaskets0 avatar

ribbonsbaskets0

New Zenner

Join Date:
Nov 2008
Location:
Seattle, WA
Posts:
52
Plugin Contributions:
0

Re: Adding additional unique paragraphs to each category page?

I need a unique paragraph for each category of gift baskets, not really descriptions that cycle.

7 Feb 2009, 3:30 AM
#5
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Adding additional unique paragraphs to each category page?

I see, I am sorry to misunderstand.

If you do not have an unreasonable number of categories, you can test the cPath variable and display different text based on its value.

If you have many categories then this is not practical.

7 Feb 2009, 4:03 AM
#6
ribbonsbaskets0 avatar

ribbonsbaskets0

New Zenner

Join Date:
Nov 2008
Location:
Seattle, WA
Posts:
52
Plugin Contributions:
0

Re: Adding additional unique paragraphs to each category page?

I'll research that, not quite sure what a cPath is. Thank you kiddo!

7 Feb 2009, 4:03 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding additional unique paragraphs to each category page?

You want this mod: Short Description for Categories.
I don't know for sure that it will work with the latest version of Zen Cart, but investigate and find out (there should be a support thread).

7 Feb 2009, 4:05 AM
#8
ribbonsbaskets0 avatar

ribbonsbaskets0

New Zenner

Join Date:
Nov 2008
Location:
Seattle, WA
Posts:
52
Plugin Contributions:
0

Re: Adding additional unique paragraphs to each category page?

i cant figure it out

7 Feb 2009, 4:17 AM
#9
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Adding additional unique paragraphs to each category page?

The most efficient way of doing this would be to add a second category description to each category - the first one could be short for the top of the page, and the second you could make longer for your SEO. It would mean adding an extra database field to the categories_description table, modifying the categories page in admin so you could enter/edit the content, and then modifying your templates to display it.

Neville
An assumption is what you arrive at when you get tired of thinking...

7 Feb 2009, 4:50 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding additional unique paragraphs to each category page?

The mod support thread, Short Description for Categories... have a description above & below product list, says the version in Free Addons is good for ZC v1.3.8a.