Print Page | Close Window

Edit Category - Parent Category Disappears

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=5746
Printed Date: 03-May-2024 at 2:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Edit Category - Parent Category Disappears
Posted By: padreick
Subject: Edit Category - Parent Category Disappears
Date 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?



Replies:
Posted By: Greg Dinger
Date 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.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: padreick
Date 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.


Posted By: Greg Dinger
Date Posted: 11-November-2013 at 4:52pm
Probably ought to file a support ticket then.  It can't be very complicated.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net