"*Apply these settings..." wipes out extra fields
I recently found out, the hard way, that if you check "Apply these settings and permissions to all children", it wipes out your extra fields of any of the children categories you may have even though the parent has none.
Is there a way to seperate the "settings" and "permissions" because I sometimes change the permissions, but not the settings, of a category, and would like those permissions set for the children of that category as well instead of having to go in and modify each category individually. And, now having the ability to add different extra fields to each category, being forced to apply the master category "settings" to all of them would be more of a hinderance than anything. Or, perhaps if a category has no products, then don't allow extra fields to be added, and maybe only have permissions in there.
Additionally, since this has wiped the fields out, has the data been lost as well, or is that still sitting in the database somewhere? (Please say it's still in the database...) :rolleyes:
That's horrible. I think I saw a mod that will let you hardcode extra fields along with the pro/con fields. Maybe that will be a solution to both of our issues.
I dont see an issue here with it wiping anything out. Maybe it did not update your category info with the appropriate numextra fields. In adm-misc.php I added one more line here just as an update to make sure each childs cat insert is indeed updated with the correct number. Your data should not be lost
After losing my extra fields, I did a test to see what would happen.
I added an extra field to a sub-category, then I went to the parent category of that sub-cat and changed a few of the permissions then clicked the "Apply to all" check box and saved it, and when I went back the extra field that I created was gone.
These weren't the "Add new field type" extra fields (the ones added to 3.3), but the extra fields that are hardcoded (ie. Extra Field #1 through Extra Field #6)
Yup. I came across that problem too. Even with the added code the child extra field bits do get removed. I hesitate but at least from this point it does appear to be a bug.
*NM. I misread your post.
Maybe since there's an extra fields option now, the hard coded ones can be eliminated.
But, then you'd have to move any fields that are in the hard coded ones into the extra fields.
And then you would have to worry about adding a sort option.
I do not in any of my testing see anything getting removed nor is there any code in our files to delete them unless you physically check the delete function
I did a test on my site and added a field called testing children to both a cat additonal field and a review extra field and applied it to the children
This is the result so as you can see it works that I am seeing here
I would need more info like urls etc to try on your site but this is clearly functioning in my testing of it
Ok, in the attached images, I have done it step by step.
I added an extra field called "Duration" into one of my sub-categories.
I did a screen cap of the extra field showing up on the "Upload Product" information page.
I changed some of my permissions on the PARENT category of this sub category, and wanted those permission changes to be the defaults of the sub-categories of this parent category.
As you can see, when I did this, the field that I added to the sub-category is no longer there.
I've done this multiple times and get the same result every time.
Maybe this is also what it happening to me...
I added a new field type and it is really acting strange...
Sometimes it is showing up in three places when I go to add child.
I edit out the new field and it may or may not show back up..
Latest problem is happening today.. The new fiels is a check box and when a new product is added the check boxes accept the check mark. When the product is saved all of the check boxes show up on the product but they are greyed out and nothing is checked...
Tearing my hair out here :( Not much left :)
Here is a screen shot... the one field is showing up 4 times. :(
Just added the extra bit of code.... Went to all the sub categories and deleted the new field box and the one in the main category.. Saved the work and then entered a new field type in just the main category and checked the save to children option....
All the subs received the new box , updated and are only showing the one box now.
BUT after adding a product the checked boxes that worked fine in the add process are still showing up blank and greyed out in the product page..
PBChannel there is your problem we aint talking the same thing. Yes the normal extra fields the names change if you overwrite from parent they are suppose to
I am talking the additional extra fields and thats why I did not see what you see
swatkins explain what is wrong with this page?
That\'s the product. You would check those when you upload the "product", or in this case, the Dealer/Shop.
They will still show up even if they are not checked.
I had the same problem...you can check out my solution here:
Yes all options are suppose to show whether checked or not swatkins
No this is not the same... I know they show up if not checked.. the problem is some of them are checked and not showing up as checked on the page...
I got rid of the multiple boxes by installing the new code and removing all the boxes from the children and parent then reinstalling it on the parent and checking the box to give the same attributes to the children, that worked fine but the boxes are not showing the checked information...
Thanks PB! :)
I will do that after I understand the current problem.
PH .. a question for you...
I used the code you refered me to and I like how it gets rid of the check boxes , fine job :)
Now I am having another problem :(
When a product is first entered checks are placed in the check off boxes but the program is not transfering that information to the product after it is submited...
The box description shows up but there are no items beside it.. In other words the information from the checked boxes is not transfered...
If I go back and edit the product I find the boxes are blank... I then recheck the boxes and submit and I find the information is now passed to the finished product page...
The information checked off in the boxes is not passed on the first time and I have to edit to make it appear...
HELPPPPPPPP :) I am a babe lost in the woods on this one!
Thanks for any help
|All times are GMT -5. The time now is 11:30 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0