Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Posts
    36
    Plugin Contributions
    0

    Default How Insert another field to Cathegory

    Hi guys, Does somebody know, how to add a new field into cathegories? I need to setup a special cathegory tree for products catalog (It need another cathegorize in XML than our shop cathegorize according to their pattern.), so I think, that it will be the best to add a new field and specify this field for all cathegories.

    Does anyone know what to do with this??

    Thank you!


    ZC1.5.5e

  2. #2
    Join Date
    Jun 2016
    Location
    Stuart VA
    Posts
    281
    Plugin Contributions
    0

    Default Re: How Insert another field to Cathegory

    There isn't any way in Zencart itself to do that. If you have access to your server and have cPanel, you could use PHPMyAdmin to add a new field to the categories_description file. But you'd need to be reasonably competent with SQL to do that. And then you would need to modify the categories.php file to display the new field and be able to put anything in it. And of course, anywhere else you needed to use that information would have to be modified as well.

  3. #3
    Join Date
    Jul 2012
    Posts
    11,628
    Plugin Contributions
    13

    Default Re: How Insert another field to Cathegory

    Quote Originally Posted by HeleneWallis View Post
    There isn't any way in Zencart itself to do that. If you have access to your server and have cPanel, you could use PHPMyAdmin to add a new field to the categories_description file. But you'd need to be reasonably competent with SQL to do that. And then you would need to modify the categories.php file to display the new field and be able to put anything in it. And of course, anywhere else you needed to use that information would have to be modified as well.
    Kind of true. There's the tools->install sql patches area where a sql command could be executed that would add the field, though the same concerns apply (knowing what one is doing because there is little information provided back and can't see the database like within phpmyadmin or similar).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 

Similar Threads

  1. How can I add another description field?
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 May 2007, 07:10 AM
  2. How To Insert Name and Email Field
    By brooke_1970 in forum General Questions
    Replies: 2
    Last Post: 18 Feb 2007, 06:09 AM
  3. How can I add another description field?
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2006, 05:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR