ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Edit Category - Parent Category Disappears
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Edit Category - Parent Category Disappears

 Post Reply Post Reply
Author
Message
padreick View Drop Down
Newbie
Newbie
Avatar

Joined: 20-February-2012
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote padreick Quote  Post ReplyReply Direct Link To This Post Topic: Edit Category - Parent Category Disappears
    Posted: 07-November-2013 at 5:36pm
When I go to edit a subcategory from the Control Panel, the Parent Category dropdown says <No Parent - Top Level Category>. When I click on the drop down, the actual parent category isn't listed. However, I will be able to see the original Parent category I was looking for when editing a different subcategory with a different parent. 

It appears that the parent category of whichever subcategory I'm editing disappears. I can modify anything because saving will move the subcategory to the top level.

Any ideas?
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 07-November-2013 at 5:52pm
in modCata.asp, look for this code:
 
        <%
        cat_DropDownName="idParentCategory"
        cat_Type="0"
        cat_DropDownSize="1"
        cat_MultiSelect="0"
        cat_ExcBTOHide="0"
        cat_StoreFront="0"
        cat_ShowParent="1"
        cat_DefaultItem=""
        cat_SelectedItems="" & pIdParentCategory & ","
        cat_ExcItems="" & pIdCategory & ","
        cat_ExcSubs="0"
        %>
 
My guess is that the last line looks like this:
        cat_ExcSubs="1"
 
Change the 1 to 0.
Back to Top
padreick View Drop Down
Newbie
Newbie
Avatar

Joined: 20-February-2012
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote padreick Quote  Post ReplyReply Direct Link To This Post Posted: 11-November-2013 at 4:48pm
Greg,

That didn't end up being the issue, but it did help me out as the categories were top level categories and weren't showing up when cat_ExcSubs equaled 1. I'll have to keep looking, but thanks for the tip.
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 11-November-2013 at 4:52pm
Probably ought to file a support ticket then.  It can't be very complicated.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.