Zen Cart Logo
Forums / All Other Contributions/Addons / Add descriptions to all your sub categories Support Thread

Add descriptions to all your sub categories Support Thread

Locked

Views: 1,509

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Nov 2008, 7:07 AM
#1
mani avatar

mani

New Zenner

Join Date:
Aug 2008
Location:
Abbottabad, Pakistan
Posts:
62
Plugin Contributions:
0

Add descriptions to all your sub categories Support Thread

Hello all,
This contribution allows you to add descriptions to your sub categories of your Zencart. You dont need to manually edit the sub category description and add them. This contribution has been coded by my friend Tahir Mehmood so all the credit goes to him

To use this contributon you need to modify these in both the functions

$user_name = "yourdbusername";

    $password = "yourdbpassword";

    $database = "databasename";

    $server = "MYSQL HOST";

Also this will add the desction to your sub category descriptions

$description = "{$result_set[$i]['categories_name']} Your description sentences here {$result_set[$i]['categories_name']}.";
It will display in the format Sub Category Name Few sentences Sub Category Name

You can download the contribution here

http://www.web-maestros.com/downloads/adding_descriptions_to_subcategories.zip

21 Nov 2008, 7:33 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Add descriptions to all your sub categories Support Thread

Can you explain further please about where this file is placed
within zencart folders/files?

18 Dec 2008, 8:31 PM
#3
mani avatar

mani

New Zenner

Join Date:
Aug 2008
Location:
Abbottabad, Pakistan
Posts:
62
Plugin Contributions:
0

Re: Add descriptions to all your sub categories Support Thread

This file will be placed along side the index.php file.
For Example your URL will be

https://www.yourdomainname.com/db_script.php