Forums / General Questions / My new category button disappeared

My new category button disappeared

Locked

Views: 885

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
12 Feb 2009, 7:49 PM
#1
radioadvisor avatar

radioadvisor

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

My new category button disappeared

I believe in the zest for a simply look I got rid of the new category button. So when I click category/product all that comes up are New Products to add.

And all I have a products no categories.

Can anyone let me know what I did wrong.

Thanks

12 Feb 2009, 8:59 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: My new category button disappeared

We'll need a link to your site.

12 Feb 2009, 9:05 PM
#3
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: My new category button disappeared

You cannot create a new category where there are already products added, so if you've started adding products to the top before creating any categories, I am afraid the only solution is to delete all the products so that you can then create categories to add them into....at least as far as I know that is the only solution lol if there is another perhaps someone will pop up and post it :)

Relevant Tutorial/FAQ: https://www.zen-cart.com/tutorials/index.php?article=271

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

12 Feb 2009, 9:07 PM
#4
radioadvisor avatar

radioadvisor

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: My new category button disappeared

Here is the link to the zen cart portion. http://theradioadvisor.com/shop/index.php?main_page=product_info&cPath=0&products_id=1

But I am talking on the Zen cart admin portion is where I can't create a category to put my products in.

I do not have my zen cart intergrated with my website http://www.theradioadvisor.com

To see what happens just got to http://theradioadvisor.com/index.php?page=start-the-sign-up-process and hit "CLICK HERE"

Thanks

12 Feb 2009, 9:15 PM
#5
radioadvisor avatar

radioadvisor

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: My new category button disappeared

Hi Christon26

I only want the two products I have so if it is not necessary to have a category then I am fine.

I thought I might need one because when someone is in the shopping cart and they click "home" it takes to them the following page http://theradioadvisor.com/shop/

Which I do not like. I wish I could incorporate the cart into my site so that when they click home it will take them to the page on my site with the two options but I do not know how to do that.

12 Feb 2009, 9:26 PM
#6
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: My new category button disappeared

You can change where the Home link takes you to, see this post here: http://www.zen-cart.com/forum/showpost.php?p=432011&postcount=7

If you only have the two products, then you can customise the cart to look like the rest of your site, and then point from your main site directly to either the cart, or to each of the products individually :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

12 Feb 2009, 10:02 PM
#7
radioadvisor avatar

radioadvisor

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: My new category button disappeared

OK so I read this below and under most of it. But if I just want to change where home goes to couldn't I just change the href for HEADER_TITLE_CATALOG.

Problem here where do I go to change the header. I tried typing in the new header with > includes/templates/YOUR TEMPLATE/common/tpl_header.php (i.e. <li><?php echo '<a href="' . HTTP_SERVER . '">'; ?> <?php echo HEADER_TITLE_HOME_PAGE; ?></a But this only caused an error because it still had the previous link. So where are these links written.

I found the perfect solution.

Change the header title in includes/languages/english/YOUR TEMPLATE/header.php (i.e define('HEADER_TITLE_CATALOG', 'your new header title');)

Add a new header title (i.e define('HEADER_TITLE_HOME_PAGE', 'Home');) to replace the modified header title.

Add a new link to includes/templates/YOUR TEMPLATE/common/tpl_header.php (i.e. <li><?php echo '<a href="' . HTTP_SERVER . '">'; ?> <?php echo HEADER_TITLE_HOME_PAGE; ?></a></li>)

This new link replaces the old "Home" header title with a new defined variable modified in header.php.

Notice the href points to HTTP_SERVER.

ZEN uses HTTP_SERVER and DIR_WS_CATALOG to create the link paths. This makes it easy for anyone to modify these links in an elegant way. Just add or remove these variables as needed.

We love ZEN.

12 Feb 2009, 10:15 PM
#8
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: My new category button disappeared

That link at the top with Home and Log In is written in includes/templates/template_default/common/tpl_header.php (and since you are using the Classic folder it is really recommended to start using the overide system so you don't lose any customisations in an upgrade) you will for now need to save the modified file in includes/templates/classic/common/tpl_header.php, creating the common directory under classic....there should also be one to change in the footer template as well :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

12 Feb 2009, 11:34 PM
#9
radioadvisor avatar

radioadvisor

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: My new category button disappeared

Okay you have not officially gone past my pay grade.:huh: